matched structure of links between pages
This commit is contained in:
parent
099bb2214c
commit
1c9b760d38
@ -34,11 +34,11 @@ RELATIVE_URLS = True
|
||||
|
||||
DISPLAY_PAGES_ON_MENU = DISPLAY_CATEGORIES_ON_MENU = False
|
||||
MENUITEMS = (
|
||||
("Werke", "/werke/"),
|
||||
("Neues", "/neues/"),
|
||||
("Termine", "/termine/"),
|
||||
("Autor", "/autor/"),
|
||||
("Kontakt", "/kontakt/")
|
||||
("Werke", "werke/"),
|
||||
("Neues", "neues/"),
|
||||
("Termine", "termine/"),
|
||||
("Autor", "autor/"),
|
||||
("Kontakt", "kontakt/")
|
||||
)
|
||||
|
||||
IGNORE_FILES = ['**/.*']
|
||||
@ -82,4 +82,5 @@ JINJA_ENVIRONMENT = { "extensions": ["jinja2.ext.debug"] }
|
||||
# Self-defined Settings #
|
||||
###############################################################################
|
||||
|
||||
STYLESHEET_FILES = ("pico.amber.css", "custom.css")
|
||||
STYLESHEET_FILES = ("pico.amber.css", "custom.css")
|
||||
DEFAULT_METADESC = "Tobias Radloff ist preisgekrönter Schriftsteller von Romanen, Kurzgeschichten und Lyrik auf deutsch und englisch. Zu seinen Genres gehören Fantasy, SF, Krimi, Kinder-/Jugendbuch und mehr. Er organisiert und moderiert die regelmäßigen Lesereihen 'Potsdams andere Welten' und 'Babelsberger Lesesalon'."
|
||||
@ -6,12 +6,12 @@
|
||||
{% for article in articles if article[page.card_selector_key] == selector_value %}
|
||||
<article class="card">
|
||||
<header class="article-header">
|
||||
<h3><a href="/{{ article.save_as }}" title="{{ article.title }}">{{ article.title }}</a></h3>
|
||||
<h3><a href="{{ SITEURL }}/{{ article.save_as }}" title="{{ article.title }}">{{ article.title }}</a></h3>
|
||||
</header>
|
||||
<div class="article-body">
|
||||
{% if article.titelbild %}
|
||||
<a href="/{{ article.save_as }}" title="{{ article.title }}"><img alt='Titelbild zu "{{ article.title }}"'
|
||||
src="{{ article.titelbild }}" /></a>
|
||||
<a href="{{ SITEURL }}/{{ article.save_as }}" title="{{ article.title }}"><img
|
||||
alt='Titelbild zu "{{ article.title }}"' src="{{ SITEURL }}/{{ article.titelbild }}" /></a>
|
||||
{% endif %}
|
||||
|
||||
{% if article.summary %}
|
||||
|
||||
@ -8,13 +8,13 @@
|
||||
</label>
|
||||
<ul id="main-menu-items" role="list">
|
||||
{% for title, link in MENUITEMS %}
|
||||
{% if output_file[-10:] == "index.html" and "/" + output_file[:-10] == link %} {# 10 characters is the length of
|
||||
{% if output_file[-10:] == "index.html" and output_file[:-10] == link %} {# 10 characters is the length of
|
||||
"index.html" #}
|
||||
<li aria-current="page" role="listitem">
|
||||
{% else %}
|
||||
<li role="listitem">
|
||||
{% endif %}
|
||||
<a href="{{ link }}">{{ title }}</a>
|
||||
<a href="{{ SITEURL }}/{{ link }}">{{ title }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
<li role="listitem">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user