small changes
This commit is contained in:
parent
1610ce2f37
commit
d6257c88a8
@ -60,7 +60,8 @@ MENUITEMS = (
|
|||||||
("Neues", "neues/"),
|
("Neues", "neues/"),
|
||||||
("Termine", (
|
("Termine", (
|
||||||
("", "termine/"),
|
("", "termine/"),
|
||||||
("Lesereihen", "lesereihen/")
|
("Andere Welten", "andere-welten/"),
|
||||||
|
("Babelsberger Lesesalon", "babelsberger-lesesalon/")
|
||||||
)),
|
)),
|
||||||
("Autor", "autor/"),
|
("Autor", "autor/"),
|
||||||
("Kontakt", (
|
("Kontakt", (
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
<div class="container main-footer" >
|
<div class="container main-footer" >
|
||||||
{% set t = [ pages | map(attribute="modified") | list | max , articles | map(attribute="modified") | list | max ] | max %}
|
{% set t = [ pages | map(attribute="modified") | list | max , articles | map(attribute="modified") | list | max ] | max %}
|
||||||
<p>erstellt mit <a href="https://www.getpelican.com/" target="_blank">Pelican</a> und viel <span class="heart">♥</span> von Tobias Radloff | {{ t.strftime("%Y") }}</p>
|
<p>{{ t.strftime("%Y") }} erstellt mit <a href="https://www.getpelican.com/" target="_blank">Pelican</a> und viel <span class="heart">♥</span> von Tobias Radloff</p>
|
||||||
</div>
|
</div>
|
||||||
@ -1,5 +1,5 @@
|
|||||||
{% extends "page.html" %}
|
{% extends "page.html" %}
|
||||||
{# note that this template's filename is ''termine.noformat.html'' and not ''termine.html''. This is because vscodium's auto-format breaks the ''replace'' filters in the summary line, which is bad. The double file extension enables an exlude rule for all "noformat.html" files from within vscodium's settings.json file. #}
|
{# note that this template's filename is ''termine.noformat.html'' and not ''termine.html''. This is because vscodium's autoformat breaks the ''replace'' filters in the summary line, which is bad. By setting an exlude rule for all "noformat.html" files in vscodium's settings.json file, autoformat will now ignore this file. #}
|
||||||
{% if page.termine is defined %}
|
{% if page.termine is defined %}
|
||||||
{% set date_format = "%d.%m." %}
|
{% set date_format = "%d.%m." %}
|
||||||
{% set time_format = "%H:%M" %}
|
{% set time_format = "%H:%M" %}
|
||||||
|
|||||||
@ -12,7 +12,7 @@ wide_card) | list | first is defined %}
|
|||||||
{% for wcard in wcards[:4] %}
|
{% for wcard in wcards[:4] %}
|
||||||
<article class="wcard" style="flex-direction: {{ loop.cycle('row', 'row-reverse') }};">
|
<article class="wcard" style="flex-direction: {{ loop.cycle('row', 'row-reverse') }};">
|
||||||
<div class="wcard-title">
|
<div class="wcard-title">
|
||||||
<h2><a href="{{ SITEURL }}/{{ wcard.title|lower }}/" title="{{ wcard.summary | striptags }}"> {{- wcard.title }}</a></h2>
|
<h2><a href="{{ SITEURL }}/{{ wcard.slug | lower }}/" title="{{ wcard.summary | striptags }}">{{ wcard.title }}</a></h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="wcard-gallery">
|
<div class="wcard-gallery">
|
||||||
{% if wcard.featured_images is defined %}
|
{% if wcard.featured_images is defined %}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user