Fix djlint
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Michel Roux 2022-09-08 15:34:45 +00:00
parent 765fe2457b
commit 251d881e81
3 changed files with 8 additions and 8 deletions

View File

@ -6,10 +6,12 @@
</a>
</li>
<li>
{# djlint:off #}
<a href="http://www.wtfpl.net" target="_blank">
<i class="fa fa-book"></i>
{{ _('Read the licence') }}
</a>
{# djlint:on #}
</li>
<li>
<a href="https://git.crystalyx.net/Xefir/Divent" target="_blank">

View File

@ -33,21 +33,20 @@
</a>
</li>
<li>
<a class="button"
target="_blank"
href="webcal://{{ request.host }}/{{ guild.vanity_url_code|default(guild.id, True) }}.ics">
{# djlint:off #}
<a class="button" target="_blank" href="webcal://{{ request.host }}/{{ guild.vanity_url_code|default(guild.id, True) }}.ics">
<i class="fa fa-apple"></i>
{{ _("Subscribe to") }} Apple
</a>
{# djlint:on #}
</li>
</ul>
<div class="hr-sect">{{ _("OR") }}</div>
<div>
<h3>{{ _("Use the direct link:") }}</h3>
<input type="text"
readonly
class="black_input"
value="webcal://{{ request.host }}/{{ guild.vanity_url_code|default(guild.id, True) }}.ics"/>
{# djlint:off #}
<input type="text" readonly class="black_input" value="webcal://{{ request.host }}/{{ guild.vanity_url_code|default(guild.id, True) }}.ics"/>
{# djlint:on #}
</div>
</div>
{% endblock content %}

View File

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