diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 1f13d5e..b40755d 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -12,6 +12,7 @@ theme = "hugo-cactus-theme" twitter = "Your Twitter account" # Disable comments by leaving disqusShortname empty disqusShortname = "spf13" + enableRSS = true # The variables below are optionally too and can be used to # translate or customize each string of the theme. diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index 3e2004a..b70a033 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -8,5 +8,7 @@ {{ with .Site.Params.about }}{{ . }}{{ else }}About{{ end }} {{ end }} + {{ if .Site.Params.enableRSS }} {{ with .Site.Params.subscribe }}{{ . }}{{ else }}Subscribe{{ end }} + {{ end }} \ No newline at end of file