1
0
Fork 0
forked from reudnetz/website

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

@ -1,5 +1,5 @@
# The URL the site will be built for
base_url = "https://reudnetz.org"
base_url = "https://reudnetz.org/"
# Whether to automatically compile all Sass files in the sass directory
compile_sass = true

View file

@ -32,6 +32,7 @@
url('introrustg-base2line-webfont.svg#intro_rust_gbase_2_line') format('svg');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
@ -44,6 +45,7 @@
url('introscriptr-h2base-webfont.svg#intro_script_rh2_base') format('svg');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
@ -56,6 +58,7 @@
url('introheadr-base-webfont.svg#intro_head_rbase') format('svg');
font-weight: normal;
font-style: normal;
font-display: swap;
}
body {

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>