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

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> </a>
</li> </li>
<li> <li>
{# djlint:off #}
<a href="http://www.wtfpl.net" target="_blank"> <a href="http://www.wtfpl.net" target="_blank">
<i class="fa fa-book"></i> <i class="fa fa-book"></i>
{{ _('Read the licence') }} {{ _('Read the licence') }}
</a> </a>
{# djlint:on #}
</li> </li>
<li> <li>
<a href="https://git.crystalyx.net/Xefir/Divent" target="_blank"> <a href="https://git.crystalyx.net/Xefir/Divent" target="_blank">

View File

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

View File

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