From cfe6109ec32ca7017b29e9b5dfcf768ffae92e44 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Mon, 1 Jul 2019 20:35:36 +0200 Subject: [PATCH 1/2] add shortcode for siteurl --- layouts/.gitkeep | 0 layouts/shortcodes/siteurl.html | 1 + 2 files changed, 1 insertion(+) delete mode 100644 layouts/.gitkeep create mode 100644 layouts/shortcodes/siteurl.html diff --git a/layouts/.gitkeep b/layouts/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/layouts/shortcodes/siteurl.html b/layouts/shortcodes/siteurl.html new file mode 100644 index 0000000..4e0d7b6 --- /dev/null +++ b/layouts/shortcodes/siteurl.html @@ -0,0 +1 @@ +{{ .Page.Site.BaseURL }} From dec375f848c61973c29fe126d808cd8263975d6a Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Mon, 1 Jul 2019 20:36:53 +0200 Subject: [PATCH 2/2] use siteurl shortcode --- content/about.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/about.md b/content/about.md index 436946c..c2d5ca3 100644 --- a/content/about.md +++ b/content/about.md @@ -9,7 +9,7 @@ I'm interested in Linux, Network, Securety and P2p Solutions. This page exists for my projects, to inform friends about things and so on. -If there are any questions, don't be afraid to write me an [email](/contact). +If there are any questions, don't be afraid to write me an [email]({{< siteurl >}}contact).