chore: retab

This commit is contained in:
zaaarf 2023-12-26 01:11:47 +01:00
parent e7a6b86ee5
commit fcdb60212d
No known key found for this signature in database
GPG key ID: 102E445F4C3F829B
10 changed files with 118 additions and 122 deletions

View file

@ -4,11 +4,9 @@
<div><a href="..">..</a>/<span class="metaData">{{ page.slug }}</span></div>
<time datetime="{{ page.date }}">Published on: <span class="metaData">{{ page.date }}</span></time>
{% if config.extra.author and config.extra.display_author == true %}
<address rel="author">By <span class="metaData">{{config.extra.author}}</span></address>
<address rel="author">By <span class="metaData">{{config.extra.author}}</span></address>
{% endif %}
<article>
{% include "base-page.html" %}
</article>
<article>{% include "base-page.html" %}</article>
{% endblock content %}

View file

@ -1,5 +1,5 @@
{% extends "base.html" %}
{% block content %}
{% include "base-page.html" %}
{% include "base-page.html" %}
{% endblock content %}

View file

@ -6,20 +6,18 @@
{{ section.content | safe }}
{% if paginator %}
{% set pages = paginator.pages %}
{% set pages = paginator.pages %}
{% else %}
{% set pages = section.pages %}
{% set pages = section.pages %}
{% endif %}
<ul class="titleList">
{% for page in pages %}
<li>
<a href="{{ page.permalink | safe }}">{{ page.title }}{% if config.extra.show_date_paginator and config.extra.show_date_paginator == true %}<span class="contentDate"> @ {{ page.date }}</span>{% endif %}</a>
</li>
{% endfor %}
{% for page in pages %}
<li><a href="{{ page.permalink | safe }}">{{ page.title }}{% if config.extra.show_date_paginator and config.extra.show_date_paginator == true %}<span class="contentDate"> @ {{ page.date }}</span>{% endif %}</a></li>
{% endfor %}
</ul>
{% if paginator %}
<div class="metaData">{% if paginator.previous %}<a href="{{ paginator.first }}"></a> &nbsp; <a href="{{ paginator.previous }}"><</a>{% endif %} &nbsp; {{ paginator.current_index }} / {{ paginator.number_pagers }} &nbsp; {% if paginator.next %}<a href="{{ paginator.next }}"></a> &nbsp; <a href="{{ paginator.last }}"></a>{% endif %}</div>
<div class="metaData">{% if paginator.previous %}<a href="{{ paginator.first }}"></a> &nbsp; <a href="{{ paginator.previous }}"><</a>{% endif %} &nbsp; {{ paginator.current_index }} / {{ paginator.number_pagers }} &nbsp; {% if paginator.next %}<a href="{{ paginator.next }}"></a> &nbsp; <a href="{{ paginator.last }}"></a>{% endif %}</div>
{% endif %}
{% endblock content %}