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

github.com/shenoybr/hugo-goa.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanilo Spinella <danyspin97@protonmail.com>2018-02-24 02:52:57 +0300
committerDanilo Spinella <danyspin97@protonmail.com>2018-02-24 02:54:34 +0300
commitc039410266bead23dedf840b5f8e6a34b17d061e (patch)
treef2c74ca3db251f0a7fa9a05a281d1d84c4aff009
parente571b7a7889c0520f3e79a8f9bffbd2ad92534f2 (diff)
Add rss icon next to social accounts
-rw-r--r--README.md1
-rw-r--r--layouts/partials/social.html3
2 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1f30344..d7f34f3 100644
--- a/README.md
+++ b/README.md
@@ -119,6 +119,7 @@ These settings to display your social accounts.
These settings for extra features that this site uses.
- `copyright`: Add a copyright statement to the bottom of the theme. eg. `© 2016. Erlich Bachman. [Some Rights Reserved](http://creativecommons.org/licenses/by/3.0/)."`
+- `rss`: Enable rss icon next to social accounts.
- `poweredby`: Help promote this theme and give the authors credit. eg. `true` or `false`.
- `highlightjs`: Use highlightJS to highlight code on your site. eg. `true` or `false`.
diff --git a/layouts/partials/social.html b/layouts/partials/social.html
index 34a392e..6500634 100644
--- a/layouts/partials/social.html
+++ b/layouts/partials/social.html
@@ -35,4 +35,7 @@
{{ with .Site.Params.social.xing }}
<a href="https://www.xing.com/profile/{{.}}"><i class="fa fa-xing" aria-hidden="true"></i></a>
{{ end }}
+ {{ if and ( .Site.Params.extra.rss ) ( .RSSLink ) }}
+ <a href="{{ .RSSLink }}"><i class="fa fa-rss" aria-hidden="true"></i></a>
+ {{ end }}
</section>