From 8b547f027a0122521d31c70d6f61e5ebfb52fcaf Mon Sep 17 00:00:00 2001 From: Julien Schmidt <js@stusta.net> Date: Wed, 1 Nov 2017 18:22:44 +0100 Subject: [PATCH] replace static shortcode with permalinks --- content/_index.de.md | 2 +- content/_index.en.md | 2 +- layouts/shortcodes/static.html | 5 ----- 3 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 layouts/shortcodes/static.html diff --git a/content/_index.de.md b/content/_index.de.md index 78e1c7a..e0db2be 100644 --- a/content/_index.de.md +++ b/content/_index.de.md @@ -17,4 +17,4 @@ Bewohner der Studentenstadt Freimann, die dem Verein beitreten möchten, müssen Die Kontaktadressen des aktuellen Vorstands finden sich im [Impressum]({{< ref "impressum.md" >}}). ## Satzung -Die aktuelle Satzung des StuStaNet e.V. ist [hier einsehbar]({{< static "satzung.pdf" >}}). +Die aktuelle Satzung des StuStaNet e.V. ist [hier einsehbar](https://stustanet.de/satzung.pdf). diff --git a/content/_index.en.md b/content/_index.en.md index 445646b..61676cc 100644 --- a/content/_index.en.md +++ b/content/_index.en.md @@ -19,4 +19,4 @@ Residents of the Studentenstadt Freimann who would like to join the association The contact details of the current board members can be found [Impressum]({{< ref "impressum.md" >}}). ## Statute -The current statute of the StuStaNet e.V. can be found [here]({{< static "satzung.pdf" >}}) (German). +The current statute of the StuStaNet e.V. can be found [here](https://stustanet.de/satzung.pdf) (German). diff --git a/layouts/shortcodes/static.html b/layouts/shortcodes/static.html deleted file mode 100644 index 6390497..0000000 --- a/layouts/shortcodes/static.html +++ /dev/null @@ -1,5 +0,0 @@ -{{- .Scratch.Set "path" (.Get 0) -}} -{{- if hasPrefix (.Scratch.Get "path") "/" -}} - {{- .Scratch.Set "path" (slicestr (.Scratch.Get "path") 1) -}} -{{- end -}} -{{- .Scratch.Get "path" | absLangURL -}} -- GitLab