From 76d46d5b57f94a959d50e4dbd1f4febec7d7f53b Mon Sep 17 00:00:00 2001
From: Julien Schmidt <js@stusta.net>
Date: Wed, 24 Oct 2018 19:42:20 +0200
Subject: [PATCH] workaround for non-working ref shortcode

---
 content/_index.de.md         |  2 +-
 content/_index.en.md         |  2 +-
 content/about.de.md          |  2 +-
 content/about.en.md          |  2 +-
 content/impressum.md         | 11 ++++++-----
 layouts/_default/baseof.html |  2 +-
 6 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/content/_index.de.md b/content/_index.de.md
index 61b9f85..6c657c1 100644
--- a/content/_index.de.md
+++ b/content/_index.de.md
@@ -37,7 +37,7 @@ Du möchtest Mitglied im StuStaNet werden um all unsere Dienste zu nutzen?
 
 
 ## Kontakt
-* <i class="fa fa-comments" aria-hidden="true"></i> [Impressum]({{< ref "impressum.md" >}})
+* <i class="fa fa-comments" aria-hidden="true"></i> [Impressum](/impressum)
 * <i class="fa fa-github" aria-hidden="true"></i> [SSN bei Github](https://github.com/stustanet/)
 
 
diff --git a/content/_index.en.md b/content/_index.en.md
index 93703eb..1d6ac3d 100644
--- a/content/_index.en.md
+++ b/content/_index.en.md
@@ -39,7 +39,7 @@ You want to become a StuStaNet member in order to use our services?
 * <i class="fa fa-gitlab" aria-hidden="true"></i> [GitLab](https://gitlab.stusta.de/)
 
 ## Contact
-* <i class="fa fa-comments" aria-hidden="true"></i> [Imprint]({{< ref "impressum.md" >}})
+* <i class="fa fa-comments" aria-hidden="true"></i> [Imprint](/impressum}})
 * <i class="fa fa-github" aria-hidden="true"></i> [SSN on Github](https://github.com/stustanet/)
 
 {{% /column %}}
diff --git a/content/about.de.md b/content/about.de.md
index c1d4ab6..8a2dded 100644
--- a/content/about.de.md
+++ b/content/about.de.md
@@ -27,7 +27,7 @@ Bewohner der Studentenstadt Freimann, die dem Verein beitreten möchten, müssen
 [Hier gehts zum Aufnahmeantrag](https://reg.stusta.de/).
 
 ## Vorstand
-Die Kontaktadresse des aktuellen Vorstands findet sich im [Impressum]({{< ref "impressum.md" >}}).
+Die Kontaktadresse des aktuellen Vorstands findet sich im [Impressum](/impressum).
 
 ## Satzung
 Die aktuelle Satzung des StuStaNet e. V. ist [im Vereinsanzeiger einsehbar](https://vereinsanzeiger.stustanet.de/satzung.pdf).
diff --git a/content/about.en.md b/content/about.en.md
index 1ffec11..d83e4c6 100644
--- a/content/about.en.md
+++ b/content/about.en.md
@@ -29,7 +29,7 @@ Residents of the Studentenstadt Freimann who would like to join the association
 [You can find the application form here](https://reg.stusta.de/).
 
 ## The Board of Directors
-The contact details of the current board members can be found in the [imprint]({{< ref "impressum.md" >}}).
+The contact details of the current board members can be found in the [imprint](/impressum).
 
 ## Statute
 The current statute of the StuStaNet e. V. can be found [here](https://vereinsanzeiger.stustanet.de/satzung.pdf)[German].
diff --git a/content/impressum.md b/content/impressum.md
index 42c618a..b7eb6ea 100644
--- a/content/impressum.md
+++ b/content/impressum.md
@@ -5,6 +5,7 @@ type: page
 noindex: true
 color: yellow
 headerImage: headers/imprint.jpg
+aliases: [ "/impressum/" ]
 ---
 
 Anbieter und Betreiber dieser Webseite ist der Verein StuStaNet e. V.
@@ -15,9 +16,9 @@ Verantwortlicher im Sinne von § 5 TMG, § 55 RfStV: Vorsitzender Vorstand des V
 Der Computernetzwerkverein in der Studentenstadt
 
 {{% dl title="Postanschrift" %}}
-StuStaNet e. V.  
-Hans-Leipelt-Straße 7  
-80805 München  
+StuStaNet e. V.
+Hans-Leipelt-Straße 7
+80805 München
 {{% /dl%}}
 
 {{% dl title="Telefon" %}}
@@ -34,8 +35,8 @@ Der Verein ist telefonisch nicht zu erreichen.
 
 {{% vorstand %}}
 
-**Registergericht:** Amtsgericht München  
-**Vereinsregisternummer**: 16245  
+**Registergericht:** Amtsgericht München
+**Vereinsregisternummer**: 16245
 
 ## Ãœber diese Webseite
 
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index b6dde00..7583493 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -105,7 +105,7 @@
           <a href="{{ .Site.Params.gitEditBaseUrl }}{{ .File.Path }}" title="{{ i18n "editPage" }}">{{ i18n "editPage" }}</a>
         </div>
         <div class="center">
-          <a href="{{ ref . "impressum.md" }}">{{ i18n "imprint" }}</a>
+          <a href="/impressum">{{ i18n "imprint" }}</a>
         </div>
         <div class="lang-dropdown-container">
           {{ $.Scratch.Set "nav-orientation" "up" }}
-- 
GitLab