Change indenting to 1 tab (4 spaces)

It's more readable this way
This commit is contained in:
daudix
2024-02-27 18:38:23 +03:00
parent 9fc6befbf4
commit d0eaa63568
33 changed files with 1208 additions and 1256 deletions

View File

@ -3,37 +3,29 @@
{% block content %}
<h1>Posts with tag “{{ term.name }}”</h1>
<small>
<a class="link-page" href="{{ get_url(path='tags') }}">See all tags</a>
<br />
{{ term.pages | length }} posts in total
<a class="link-page" href="{{ get_url(path='tags') }}">See all tags</a>
<br />
{{ term.pages | length }} posts in total
</small>
<article>
{% for page in term.pages %}
<h3>
<a class="link-page" href="{{ page.permalink | safe }}">
{{ page.title }}
</a>
</h3>
{%- if page.description %}
<p>{{ page.description }}</p>
{%- endif %}
<small>
<time datetime='{{ page.date | date(format='%+') }}' pubdate>
{{- page.date | date(format=config.extra.date_format) -}}
</time>
{%- if page.taxonomies %}
{%- for name, taxon in page.taxonomies %}
<span></span>
<ul class="tags">
{%-for item in taxon %}
<li>
<a class="tag" href="{{ get_taxonomy_url(kind=name, name=item) }}">{{ item }}</a>
</li>
{%- endfor %}
</ul>
{%- endfor %}
{%- endif %}
</small>
{% endfor %}
{% for page in term.pages %}
<h3><a class="link-page" href="{{ page.permalink | safe }}">{{ page.title }}</a></h3>
{%- if page.description %}
<p>{{ page.description }}</p>
{%- endif %}
<small>
<time datetime='{{ page.date | date(format=' %+') }}' pubdate>{{- page.date | date(format=config.extra.date_format) -}}</time>
{%- if page.taxonomies %}
{%- for name, taxon in page.taxonomies %}
<span></span>
<ul class="tags">
{%-for item in taxon %}
<li><a class="tag" href="{{ get_taxonomy_url(kind=name, name=item) }}">{{ item }}</a></li>
{%- endfor %}
</ul>
{%- endfor %}
{%- endif %}
</small>
{% endfor %}
</article>
{% endblock content %}