diff options
Diffstat (limited to 'layouts/404.html')
-rw-r--r-- | layouts/404.html | 4 |
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 }}"> Subscribe</a> {{else}} - <a class="menu-button icon-feed" href="{{ .RSSLink }}"> Subscribe</a> + <a class="menu-button icon-feed" href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}"> 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" . }} |