performance improvements:

* less redirects
* better font loading behaviour
This commit is contained in:
Yannik 2025-06-30 19:19:51 +02:00
parent 4606518627
commit 3695a29861
5 changed files with 10 additions and 8 deletions

View file

@ -6,7 +6,7 @@
{% for post in posts.pages %}
<h2 class="fg8" style="margin-bottom: 0px;"><a
href="{{ get_url(path=post.path) }}" title="{{ post.title }}">{{ post.title }}</a></h2>
href="{{ get_url(path=post.path) }}/" title="{{ post.title }}">{{ post.title }}</a></h2>
<p class="fg4" style="margin-bottom: 0px;margin-top: 0px;">{{ post.date }}</p>
<div class="fg12">
{% if post.summary %}

View file

@ -5,7 +5,7 @@
{% set anleitungen = get_section(path="how-to/_index.md") %}
{% for page in anleitungen.pages %}
<li>
<a href="{{ get_url(path=page.path) }}" title="{{ page.title }}">{{ page.title }}</a>
<a href="{{ get_url(path=page.path) }}/" title="{{ page.title }}">{{ page.title }}</a>
</li>
{% endfor %}
{% endblock content %}

View file

@ -18,10 +18,10 @@
<div class="center">
<div class="row head"/>
<div class="fg12 legal fg-no-mobile">
<a href="{{ get_url(path="impressum") }}">Impressum</a> | <a href="{{ get_url(path="/datenschutz") }}">Datenschutzhinweis</a>
<a href="{{ get_url(path="impressum") }}/">Impressum</a> | <a href="{{ get_url(path="datenschutz") }}/">Datenschutzhinweis</a>
</div>
<div class="fg6">
<a href="{{ get_url(path="/") }}"><h1>Reudnetz</h1></a>
<a href="{{ get_url(path="/") }}/"><h1>Reudnetz</h1></a>
</div>
<div class="fg6">
<h2>Internet für Leipzigs Osten</h2>
@ -33,14 +33,13 @@
{% block nav %}
{% for page in root_section.pages %}
<li>
<a href="{{ get_url(path=page.path) }}" title="{{ page.title }}">{{ page.title }}</a>
<a href="{{ get_url(path=page.path) }}/" title="{{ page.title }}">{{ page.title }}</a>
</li>
{% endfor %}
{% endblock nav %}
</ul>
</div>
</div>
<div class="chatwindow"> </div>
<div class="row content">
<div class="fg8">
{% block content %}
@ -58,7 +57,7 @@
</div>
<div class="row fg-no-desktop">
<div class="fg12 legal">
<a href="{{ get_url(path="impressum") }}">Impressum</a> | <a href="{{ get_url(path="/datenschutz") }}">Datenschutzhinweis</a>
<a href="{{ get_url(path="impressum") }}/">Impressum</a> | <a href="{{ get_url(path="/datenschutz") }}/">Datenschutzhinweis</a>
</div>
</div>
</div>