diff options
author | vjeantet <valere.jeantet@gmail.com> | 2020-09-06 18:42:21 +0300 |
---|---|---|
committer | vjeantet <valere.jeantet@gmail.com> | 2020-09-06 18:42:21 +0300 |
commit | f15172311f7609749aa32a55757441ca6cfa20b9 (patch) | |
tree | 6d97eccdcf305804dd40ae048417f6341d981a5c | |
parent | 74da25cf8c2bf876566b6dce0ed8c0ae8267b06b (diff) |
fix link formating
-rw-r--r-- | layouts/_default/baseof.html | 2 | ||||
-rw-r--r-- | 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 }} <!DOCTYPE html> 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}} - <meta http-equiv = "refresh" content = "0; url = {{.RelPermalink}}"/> + <meta http-equiv = "refresh" content = "0; url = {{.Permalink}}"/> {{else}} no file found in content folder :( {{end}} |