diff options
author | Danilo Spinella <danyspin97@protonmail.com> | 2018-02-24 02:52:57 +0300 |
---|---|---|
committer | Danilo Spinella <danyspin97@protonmail.com> | 2018-02-24 02:54:34 +0300 |
commit | c039410266bead23dedf840b5f8e6a34b17d061e (patch) | |
tree | f2c74ca3db251f0a7fa9a05a281d1d84c4aff009 | |
parent | e571b7a7889c0520f3e79a8f9bffbd2ad92534f2 (diff) |
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
@@ -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> |