Ability to toggle RSS
Ability to toggle RSS feed by setting .Site.Params.rss (defined in config.toml in the [Params] section)
This commit is contained in:
parent
f4ce4ee357
commit
50fad43b1f
@ -12,6 +12,7 @@ pygmentCodeFences = true
|
||||
logo = "img/avatar-icon.png"
|
||||
favicon = "img/favicon.ico"
|
||||
commit = false
|
||||
rss = true
|
||||
|
||||
[Author]
|
||||
name = "Some Person"
|
||||
|
@ -163,7 +163,7 @@
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.rss }}
|
||||
<li>
|
||||
<a href="{{ .Site.BaseURL}}index.xml" title="RSS">
|
||||
<span class="fa-stack fa-lg">
|
||||
@ -172,7 +172,7 @@
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
{{ end }}
|
||||
</ul>
|
||||
<p class="credits copyright text-muted">
|
||||
{{ .Site.Author.name }}
|
||||
|
Loading…
Reference in New Issue
Block a user