More URL fixes

This commit is contained in:
Lynn Ochs 2023-02-20 07:04:07 +01:00
parent c77e22bcc9
commit 3a43ace704
3 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ layout: default
{% if events.size > 0 %} {% if events.size > 0 %}
<h2>Zukünftige</h2> <h2>Zukünftige</h2>
{% for event in events %} {% for event in events %}
<h3><a href="{{ event.url }}">{{ event.title }}, {{ event.date | date: "%F" }}</a></h3> <h3><a href="{{ event.url | relative_url }}">{{ event.title }}, {{ event.date | date: "%F" }}</a></h3>
{{ event.excerpt }} {{ event.excerpt }}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
@ -16,7 +16,7 @@ layout: default
{% if events.size > 0 %} {% if events.size > 0 %}
<h2>Vergangene</h2> <h2>Vergangene</h2>
{% for event in events reversed %} {% for event in events reversed %}
<h3><a href="{{ event.url }}">{{ event.title }}, {{ event.date | date: "%F" }}</a></h3> <h3><a href="{{ event.url | relative_url }}">{{ event.title }}, {{ event.date | date: "%F" }}</a></h3>
{{ event.excerpt }} {{ event.excerpt }}
{% endfor %} {% endfor %}
{% endif %} {% endif %}

View File

@ -5,7 +5,7 @@ layout: default
{% assign posts = site.logs | reverse %} {% assign posts = site.logs | reverse %}
{% for post in posts %} {% for post in posts %}
<h2><a href="{{ post.url }}">{{ post.title }}, {{ post.date | date: "%F" }}</a></h2> <h2><a href="{{ post.url | relative_url }}">{{ post.title }}, {{ post.date | date: "%F" }}</a></h2>
{{ post.excerpt }} {{ post.excerpt }}
{% endfor %} {% endfor %}

View File

@ -3,7 +3,7 @@ title: "Posts"
layout: default layout: default
--- ---
{% for post in site.posts %} {% for post in site.posts %}
<h2><a href="{{ post.url }}">{{ post.title }}</a></h2> <h2><a href="{{ post.url | relative_url }}">{{ post.title }}</a></h2>
{{ post.excerpt }} {{ post.excerpt }}
{% endfor %} {% endfor %}