Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/budparr/gohugo-theme-ananke.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse <jwhitehouse@airpost.net>2019-09-28 15:49:03 +0300
committerBud Parr <budparr@gmail.com>2019-09-28 15:49:03 +0300
commit287b3ff5e9ee1b50d573fbc75657f6526ddaeb88 (patch)
treea37c11d93b1531d00443c4716f21592852c89515
parent1abef69dc49cf1851d12a46cb32e09c45029f0a9 (diff)
Fixes #212. (#213)2.53
-rwxr-xr-xlayouts/_default/baseof.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 68d320b..6aaab08 100755
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -28,10 +28,12 @@
{{ end }}
{{ if .OutputFormats.Get "RSS" }}
- <link href="{{ .OutputFormats.Get "RSS" }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
- <link href="{{ .OutputFormats.Get "RSS" }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
+ {{ with .OutputFormats.Get "RSS" }}
+ <link href="{{ .RelPermalink }}" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" />
+ <link href="{{ .RelPermalink }}" rel="feed" type="application/rss+xml" title="{{ $.Site.Title }}" />
+ {{ end }}
{{ end }}
-
+
{{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/spf13/hugo/blob/master/tpl/tplimpl/template_embedded.go#L158 */}}
{{- template "_internal/opengraph.html" . -}}
{{- template "_internal/schema.html" . -}}