From 154aa3dfe3025f25af139d260c3c1e8db7dcbaf2 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Thu, 8 Sep 2022 14:34:50 +0000 Subject: [PATCH] Fix djlint --- divent/templates/subscribe.html.j2 | 4 ++-- pyproject.toml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/divent/templates/subscribe.html.j2 b/divent/templates/subscribe.html.j2 index d313a2c..2542389 100644 --- a/divent/templates/subscribe.html.j2 +++ b/divent/templates/subscribe.html.j2 @@ -35,7 +35,7 @@
  • + href="{{ url_for(".ical", _scheme="webcal", guild_id=guild.vanity_url_code|default(guild.id, True)) }}"> {{ _("Subscribe to") }} Apple @@ -47,7 +47,7 @@ + value="{{ url_for(".ical", _scheme="webcal", guild_id=guild.vanity_url_code|default(guild.id, True)) }}"/> {% endblock content %} diff --git a/pyproject.toml b/pyproject.toml index efa8390..775ad9e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,3 +34,4 @@ build-backend = "poetry.core.masonry.api" [tool.djlint] extension = "j2" profile = "jinja" +ignore="H022"