Skip to content

Commit

Permalink
Only show license if one exists.
Browse files Browse the repository at this point in the history
  • Loading branch information
jevandezande committed Mar 19, 2024
1 parent bcaf776 commit 7755b5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions {{cookiecutter.package_name}}/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# {{cookiecutter.project_name}}

[![License](https://img.shields.io/github/license/{{cookiecutter.github_username}}/{{cookiecutter.package_name}})]({{cookiecutter.project_url}}/blob/master/LICENSE)
{% if cookiecutter.license == "None" %}![License](https://img.shields.io/badge/license-None-black){% else %}[![License](https://img.shields.io/github/license/{{cookiecutter.github_username}}/{{cookiecutter.package_name}})]({{cookiecutter.project_url}}/blob/master/LICENSE){% endif %}
[![Code style: ruff](https://img.shields.io/badge/code%20style-ruff-000000.svg)](https://github.com/astral-sh/ruff)
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/{{cookiecutter.github_username}}/{{cookiecutter.package_name}}/test.yml?branch=master&logo=github-actions)]({{cookiecutter.project_url}}/actions/)
[![Codecov](https://img.shields.io/codecov/c/github/{{cookiecutter.github_username}}/{{cookiecutter.package_name}})](https://codecov.io/gh/{{cookiecutter.github_username}}/{{cookiecutter.package_name}})


## Credits
This package was created with Cookiecutter and the [jevandezande/poetry-cookiecutter](https://github.com/jevandezande/poetry-cookiecutter) project template.
This package was created with [Cookiecutter](https://github.com/audreyr/cookiecutter) and the [jevandezande/poetry-cookiecutter](https://github.com/jevandezande/poetry-cookiecutter) project template.

0 comments on commit 7755b5d

Please sign in to comment.