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

github.com/syui/hugo-theme-air.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/404.html')
-rw-r--r--layouts/404.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/404.html b/layouts/404.html
index 9b843c6..7b44e9e 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -16,7 +16,7 @@
{{ if .Site.Params.RSSLink}}
<a class="menu-button icon-feed" href="{{.Site.Params.RSSLink }}">&nbsp;&nbsp;Subscribe</a>
{{else}}
- <a class="menu-button icon-feed" href="{{ .RSSLink }}">&nbsp;&nbsp;Subscribe</a>
+ <a class="menu-button icon-feed" href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}">&nbsp;&nbsp;Subscribe</a>
{{end}}
{{end}}
</nav>
@@ -49,4 +49,4 @@
<p>Please head back <a href="/">home</a>.</p>
</article>
-{{ partial "footer.html" . }} \ No newline at end of file
+{{ partial "footer.html" . }}