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

github.com/nurlansu/hugo-sustain.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exampleSite/config.toml1
-rwxr-xr-xlayouts/partials/social.html4
2 files changed, 5 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 80e359a..212c106 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -27,6 +27,7 @@ theme = "hugo-sustain"
Stackoverflow = "username"
Medium = "username"
Telegram = "username"
+ RSS = "/blog/index.xml"
## Main Menu
[[menu.main]]
diff --git a/layouts/partials/social.html b/layouts/partials/social.html
index 2dcf2dd..51fb8bd 100755
--- a/layouts/partials/social.html
+++ b/layouts/partials/social.html
@@ -27,5 +27,9 @@
{{ with .Site.Params.Social.Telegram }}
<li><a href="https://telegram.me/{{ . }}"><i class="fa fa-telegram"></i></a></li>
{{ end }}
+
+ {{ with .Site.Params.Social.RSS }}
+ <li><a href="{{ . }}"><i class="fa fa-rss"></i></a></li>
+ {{ end }}
</ul>
</div>