most templates now extend page instead of base
This commit is contained in:
parent
a865c8338a
commit
61f87b6bc1
@ -1,4 +1,4 @@
|
||||
{% extends "base.html" %}
|
||||
{% extends "page.html" %}
|
||||
|
||||
{% block content_all %}
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
{% extends "base.html" %}
|
||||
{% extends "page.html" %}
|
||||
|
||||
{% block content_header %}
|
||||
{% endblock content_header %}
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}
|
||||
{{ page.title }} - {{ SITENAME }}
|
||||
{{ page.title }} – {{ SITENAME }}
|
||||
{% endblock %}
|
||||
{% block metadesc %}
|
||||
{% if page.summary %}{{ page.summary|e }}{% else %}{{ super() }}{% endif %}
|
||||
|
||||
@ -1,5 +1,13 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}
|
||||
Schlagwort: {{ tag }} - {{ SITENAME }}
|
||||
{% endblock %}
|
||||
{% block metadesc %}
|
||||
Alle Einträge zum Schlagwort '{{ tag }}'
|
||||
{% endblock %}
|
||||
|
||||
{% block content_all %}
|
||||
{% block content_header %}
|
||||
<div class="extra-header">
|
||||
<h1>Schlagwort: {{ tag }}</h1>
|
||||
@ -26,4 +34,6 @@
|
||||
{% endblock content_body %}
|
||||
|
||||
{% block content_footer %}
|
||||
{% endblock content_footer %}
|
||||
{% endblock content_footer %}
|
||||
|
||||
{% endblock content_all %}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
{% extends "base.html" %}
|
||||
{% extends "page.html" %}
|
||||
|
||||
{% block content_all%}
|
||||
|
||||
@ -16,11 +16,11 @@ original order #}
|
||||
{% do wcards.append(pages | selectattr("slug", "==", wide_card) | list | first) if pages | selectattr("slug", "==",
|
||||
wide_card) | list | first %}
|
||||
{% endfor %}
|
||||
{# now we can finally iterate over the correct pages (max. 4 pages) #}
|
||||
{# now we can finally iterate over the correct pages (should be exactly 4 pages so the animation delays work) #}
|
||||
{% for wcard in wcards[:4] %}
|
||||
<article class="wcard" style="flex-direction: {{ loop.cycle('row', 'row-reverse') }};">
|
||||
<div class="wcard-title">
|
||||
<h2><a href="{{ SITEURL }}/{{ wcard.slug | lower }}/" title="{{ wcard.summary | striptags }}">{{ wcard.title }}</a></h2>
|
||||
<h2><a href="{{ SITEURL }}/{{ wcard.slug }}/" title="{{ wcard.summary | striptags }}">{{ wcard.title }}</a></h2>
|
||||
</div>
|
||||
<div class="wcard-gallery">
|
||||
{% if wcard.card_images %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user