Skip to content

Commit

Permalink
chore(cargo-generate/templating): omit unnecessary newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
gibbz00 committed Aug 4, 2024
1 parent 65f8e8d commit bfe6b79
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# {{ project-name }}

[![ci_status](https://img.shields.io/github/actions/workflow/status/{{ repository_path }}/ci.yaml?style=for-the-badge)](https://github.com/{{ repository_path }}/actions/workflows/ci.yaml)
{% if optional_codecov != "" %}
{%- if optional_codecov != "" -%}
[![codecov](https://img.shields.io/codecov/c/gh/{{ repository_path }}?token={{ optional_codecov }}&style=for-the-badge)](https://codecov.io/gh/{{ repository_path }})
{% endif %}
{%- endif -%}
[![license](https://img.shields.io/github/license/{{ repository_path }}.svg?style=for-the-badge)](https://github.com/{{ repository_path }}/blob/main/LICENSE.md)

### CI/CD expects the following environment variables:
Expand Down Expand Up @@ -50,9 +50,9 @@

## Further reading

{% if architecture_url != "" %}
{%- if architecture_url != "" -%}
* [Architecture]({{ architecture_url }})
{% endif %}
{%- endif -%}
* [Contributing](/CODE_OF_CONDUCT.md)
* [Code of conduct](/CODE_OF_CONDUCT.md)
* [Security policy](/SECURITY.md)
4 changes: 2 additions & 2 deletions book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ edition = "2021"
build-dir = "target/book"

[output.html]
{% if mdbook_pages_url %}
{%- if mdbook_pages_url -%}
cname = "{{ mdbook_pages_url }}"
{% endif %}
{%- endif -%}
curly-quotes = true
edit-url-template = "https://github.com/{{ repository_path }}/{{ project-name }}/edit/main/{path}"
git-repository-url = "https://github.com/{{ repository_path }}/{{ project-name }}"
Expand Down

0 comments on commit bfe6b79

Please sign in to comment.