mirror of
https://github.com/zaaarf/friendenstein.git
synced 2024-11-22 15:34:50 +01:00
chore: retab
This commit is contained in:
parent
e7a6b86ee5
commit
fcdb60212d
10 changed files with 118 additions and 122 deletions
|
@ -4,11 +4,9 @@
|
||||||
<div><a href="..">..</a>/<span class="metaData">{{ page.slug }}</span></div>
|
<div><a href="..">..</a>/<span class="metaData">{{ page.slug }}</span></div>
|
||||||
<time datetime="{{ page.date }}">Published on: <span class="metaData">{{ page.date }}</span></time>
|
<time datetime="{{ page.date }}">Published on: <span class="metaData">{{ page.date }}</span></time>
|
||||||
{% if config.extra.author and config.extra.display_author == true %}
|
{% 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 %}
|
{% endif %}
|
||||||
|
|
||||||
<article>
|
<article>{% include "base-page.html" %}</article>
|
||||||
{% include "base-page.html" %}
|
|
||||||
</article>
|
|
||||||
|
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% include "base-page.html" %}
|
{% include "base-page.html" %}
|
||||||
{% endblock content %}
|
{% endblock content %}
|
|
@ -6,20 +6,18 @@
|
||||||
{{ section.content | safe }}
|
{{ section.content | safe }}
|
||||||
|
|
||||||
{% if paginator %}
|
{% if paginator %}
|
||||||
{% set pages = paginator.pages %}
|
{% set pages = paginator.pages %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% set pages = section.pages %}
|
{% set pages = section.pages %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<ul class="titleList">
|
<ul class="titleList">
|
||||||
{% for page in pages %}
|
{% for page in pages %}
|
||||||
<li>
|
<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>
|
||||||
<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>
|
{% endfor %}
|
||||||
</li>
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
{% if paginator %}
|
{% if paginator %}
|
||||||
<div class="metaData">{% if paginator.previous %}<a href="{{ paginator.first }}">⥶</a> <a href="{{ paginator.previous }}"><</a>{% endif %} {{ paginator.current_index }} / {{ paginator.number_pagers }} {% if paginator.next %}<a href="{{ paginator.next }}"></a> <a href="{{ paginator.last }}"></a>{% endif %}</div>
|
<div class="metaData">{% if paginator.previous %}<a href="{{ paginator.first }}">⥶</a> <a href="{{ paginator.previous }}"><</a>{% endif %} {{ paginator.current_index }} / {{ paginator.number_pagers }} {% if paginator.next %}<a href="{{ paginator.next }}"></a> <a href="{{ paginator.last }}"></a>{% endif %}</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|
Loading…
Reference in a new issue