From 615e0611b5c025cde16bc9c0fb1029cf43e5df7f Mon Sep 17 00:00:00 2001 From: Jared Komoroski Date: Sat, 13 Feb 2021 10:20:29 -0700 Subject: [PATCH] Adding RSS to example page and to social partial, uses the blog's RSS (#18) * Adding RSS to example page and to social partial, uses the blog's RSS * Change "if" to "with" Co-authored-by: Nurlan Suyundukov --- exampleSite/config.toml | 1 + layouts/partials/social.html | 4 ++++ 2 files changed, 5 insertions(+) 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 }}
  • {{ end }} + + {{ with .Site.Params.Social.RSS }} +
  • + {{ end }}