Fix djlint
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Michel Roux 2022-09-08 14:34:50 +00:00
parent 624ab966af
commit 154aa3dfe3
2 changed files with 3 additions and 2 deletions

View File

@ -35,7 +35,7 @@
<li>
<a class="button"
target="_blank"
href="webcal://{{ request.host }}/{{ guild.vanity_url_code|default(guild.id, True) }}.ics">
href="{{ url_for(".ical", _scheme="webcal", guild_id=guild.vanity_url_code|default(guild.id, True)) }}">
<i class="fa fa-apple"></i>
{{ _("Subscribe to") }} Apple
</a>
@ -47,7 +47,7 @@
<input type="text"
readonly
class="black_input"
value="webcal://{{ request.host }}/{{ guild.vanity_url_code|default(guild.id, True) }}.ics">
value="{{ url_for(".ical", _scheme="webcal", guild_id=guild.vanity_url_code|default(guild.id, True)) }}"/>
</div>
</div>
{% endblock content %}

View File

@ -34,3 +34,4 @@ build-backend = "poetry.core.masonry.api"
[tool.djlint]
extension = "j2"
profile = "jinja"
ignore="H022"