diff options
-rw-r--r-- | exampleSite/config.toml | 1 | ||||
-rwxr-xr-x | layouts/partials/social.html | 4 |
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> |