update: "rssIcon" defaults to "true" && "readNextPosts" defaults to "3"
This commit is contained in:
parent
e7a93e2088
commit
893f4a77a4
2 changed files with 13 additions and 3 deletions
|
@ -24,7 +24,12 @@
|
|||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.rssAsSocialIcon }}
|
||||
{{ $rssIcon := true }}
|
||||
{{ if isset .Site.Params "rssIcon" }}
|
||||
{{ $rssIcon = .Site.Params.rssIcon }}
|
||||
{{ end }}
|
||||
|
||||
{{ if $rssIcon }}
|
||||
{{ with .Site.Home.OutputFormats.Get "rss" -}}
|
||||
<li>
|
||||
<a {{ printf "href=%q" .RelPermalink | safeHTMLAttr }} title="RSS" rel="me">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue