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:
authorRajesh Shenoy <shenoybr@users.noreply.github.com>2018-03-28 20:34:12 +0300
committerGitHub <noreply@github.com>2018-03-28 20:34:12 +0300
commitd7a47bd05742a129af4525dbf1bc36ae9928bfad (patch)
tree5535dac6c0071e14ae783909fb4baf813336bad6
parent0879eadc51469412e096f2df4c046c1a0b3a20f9 (diff)
parentc039410266bead23dedf840b5f8e6a34b17d061e (diff)
Merge pull request #40 from DanySpin97/rss-icon
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 7e7f32f..f7be314 100644
--- a/README.md
+++ b/README.md
@@ -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>