Reflow HTML based on updated djlint

This commit is contained in:
Jake Howard 2023-05-05 13:09:16 +01:00
parent 480fb7c700
commit 32f1360362
Signed by: jake
GPG key ID: 57AFB45680EDD477
4 changed files with 4 additions and 8 deletions

View file

@ -6,7 +6,5 @@
<img src="{% image_url value.image 'width-1500' %}" alt="{{ value.caption|richtext|extract_text }}" loading="lazy" decoding="async" /> <img src="{% image_url value.image 'width-1500' %}" alt="{{ value.caption|richtext|extract_text }}" loading="lazy" decoding="async" />
</a> </a>
</div> </div>
<figcaption> <figcaption>{{ value.caption|richtext }}</figcaption>
{{ value.caption|richtext }}
</figcaption>
</figure> </figure>

View file

@ -11,7 +11,7 @@
{% endblock %} {% endblock %}
{% block main_content %} {% block main_content %}
{% if page.hero_image_url %}<img class="hero" src="{{ page.hero_image_url }}" decoding="async" alt=""/>{% endif %} {% if page.hero_image_url %}<img class="hero" src="{{ page.hero_image_url }}" decoding="async" alt="" />{% endif %}
{% if page.get_view_restrictions.exists %} {% if page.get_view_restrictions.exists %}
<section class="notification is-danger" id="view-restriction-banner"> <section class="notification is-danger" id="view-restriction-banner">

View file

@ -6,7 +6,5 @@
<img src="https://mermaid.ink/svg/{{ value.pako }}" referrerpolicy="no-referrer" alt="{{ value.caption|richtext|extract_text }}" loading="lazy" decoding="async" /> <img src="https://mermaid.ink/svg/{{ value.pako }}" referrerpolicy="no-referrer" alt="{{ value.caption|richtext|extract_text }}" loading="lazy" decoding="async" />
</a> </a>
</div> </div>
<figcaption> <figcaption>{{ value.caption|richtext }}</figcaption>
{{ value.caption|richtext }}
</figcaption>
</figure> </figure>

View file

@ -2,7 +2,7 @@
<tr> <tr>
<td> <td>
<a href="{{ url }}"> <a href="{{ url }}">
<img src="{{ track.album.images.0.url }}" alt="{{ track.album.name }}" decoding="async" loading="lazy" referrerpolicy="no-referrer" class="image"/> <img src="{{ track.album.images.0.url }}" alt="{{ track.album.name }}" decoding="async" loading="lazy" referrerpolicy="no-referrer" class="image" />
</a> </a>
</td> </td>
<td> <td>