From f15172311f7609749aa32a55757441ca6cfa20b9 Mon Sep 17 00:00:00 2001 From: vjeantet Date: Sun, 6 Sep 2020 17:42:21 +0200 Subject: fix link formating --- layouts/_default/baseof.html | 2 +- layouts/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 61be3f4..5e437fd 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -3,7 +3,7 @@ {{ if or (hasPrefix . "http:") (hasPrefix . "https:") }} {{ $redirectURL = . }} {{ else }} - {{ $redirectURL = relref $ .}} + {{ $redirectURL = ref $ .}} {{ end }} {{ end }} diff --git a/layouts/index.html b/layouts/index.html index 3e02a9a..0bbb41d 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -7,7 +7,7 @@ {{ partial "body-article-content.html" . }} {{else}} {{with index .Site.Sections 0}} - + {{else}} no file found in content folder :( {{end}} -- cgit v1.2.3