diff options
author | Rajesh Shenoy <shenoybr@users.noreply.github.com> | 2018-03-28 20:34:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-28 20:34:12 +0300 |
commit | d7a47bd05742a129af4525dbf1bc36ae9928bfad (patch) | |
tree | 5535dac6c0071e14ae783909fb4baf813336bad6 | |
parent | 0879eadc51469412e096f2df4c046c1a0b3a20f9 (diff) | |
parent | c039410266bead23dedf840b5f8e6a34b17d061e (diff) |
Merge pull request #40 from DanySpin97/rss-icon
Add rss icon next to social accounts
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | layouts/partials/social.html | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -123,6 +123,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> |