forked from reudnetz/website
performance improvements:
* less redirects * better font loading behaviour
This commit is contained in:
parent
4606518627
commit
3695a29861
5 changed files with 10 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
||||||
# The URL the site will be built for
|
# 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
|
# Whether to automatically compile all Sass files in the sass directory
|
||||||
compile_sass = true
|
compile_sass = true
|
||||||
|
|
|
@ -32,6 +32,7 @@
|
||||||
url('introrustg-base2line-webfont.svg#intro_rust_gbase_2_line') format('svg');
|
url('introrustg-base2line-webfont.svg#intro_rust_gbase_2_line') format('svg');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
|
@ -44,6 +45,7 @@
|
||||||
url('introscriptr-h2base-webfont.svg#intro_script_rh2_base') format('svg');
|
url('introscriptr-h2base-webfont.svg#intro_script_rh2_base') format('svg');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
|
@ -56,6 +58,7 @@
|
||||||
url('introheadr-base-webfont.svg#intro_head_rbase') format('svg');
|
url('introheadr-base-webfont.svg#intro_head_rbase') format('svg');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
{% for post in posts.pages %}
|
{% for post in posts.pages %}
|
||||||
<h2 class="fg8" style="margin-bottom: 0px;"><a
|
<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>
|
<p class="fg4" style="margin-bottom: 0px;margin-top: 0px;">{{ post.date }}</p>
|
||||||
<div class="fg12">
|
<div class="fg12">
|
||||||
{% if post.summary %}
|
{% if post.summary %}
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
{% set anleitungen = get_section(path="how-to/_index.md") %}
|
{% set anleitungen = get_section(path="how-to/_index.md") %}
|
||||||
{% for page in anleitungen.pages %}
|
{% for page in anleitungen.pages %}
|
||||||
<li>
|
<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>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|
|
@ -18,10 +18,10 @@
|
||||||
<div class="center">
|
<div class="center">
|
||||||
<div class="row head"/>
|
<div class="row head"/>
|
||||||
<div class="fg12 legal fg-no-mobile">
|
<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>
|
||||||
<div class="fg6">
|
<div class="fg6">
|
||||||
<a href="{{ get_url(path="/") }}"><h1>Reudnetz</h1></a>
|
<a href="{{ get_url(path="/") }}/"><h1>Reudnetz</h1></a>
|
||||||
</div>
|
</div>
|
||||||
<div class="fg6">
|
<div class="fg6">
|
||||||
<h2>Internet für Leipzigs Osten</h2>
|
<h2>Internet für Leipzigs Osten</h2>
|
||||||
|
@ -33,14 +33,13 @@
|
||||||
{% block nav %}
|
{% block nav %}
|
||||||
{% for page in root_section.pages %}
|
{% for page in root_section.pages %}
|
||||||
<li>
|
<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>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endblock nav %}
|
{% endblock nav %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="chatwindow"> </div>
|
|
||||||
<div class="row content">
|
<div class="row content">
|
||||||
<div class="fg8">
|
<div class="fg8">
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
@ -58,7 +57,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="row fg-no-desktop">
|
<div class="row fg-no-desktop">
|
||||||
<div class="fg12 legal">
|
<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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue