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

github.com/danielkvist/hugo-piercer-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanielkvist <d94.zaragoza@gmail.com>2019-04-15 11:36:49 +0300
committerdanielkvist <d94.zaragoza@gmail.com>2019-04-15 11:36:49 +0300
commitc37617374169e295f23ae8cacaf9a0d19ec2d1d5 (patch)
tree2829efcbd230d389f0e34fb5e511904b469fd046
parent937de99ad5a130de1dbbdb64170283b294d395ad (diff)
fix rss iconv1.1.1
-rw-r--r--README.md1
-rw-r--r--exampleSite/config.toml1
-rw-r--r--layouts/partials/social.html4
3 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index bf1766a..5f0b973 100644
--- a/README.md
+++ b/README.md
@@ -228,6 +228,7 @@ logo = "" # Relative URL for your logo
tumblr = ""
flickr = ""
"500px" = ""
+ rss = ""
```
> icons for social networks depend on Font Awesome.
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index cf21b5e..1d1d46e 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -116,6 +116,7 @@ themesDir = "../.."
tumblr = ""
flickr = ""
"500px" = ""
+ rss = "#"
[params.copy]
message = ""
diff --git a/layouts/partials/social.html b/layouts/partials/social.html
index 4ef72dc..6f111a6 100644
--- a/layouts/partials/social.html
+++ b/layouts/partials/social.html
@@ -7,7 +7,11 @@
<a href="{{ $v }}" class="social-links__link" alt="{{ $k }}" target="_blank" aria-label="{{ $v }}"
rel="noopener noreferrer">
<span class="social-links__link__icon">
+ {{ if eq $k "rss" }}
+ <i class="fas fa-{{ $k }}"></i>
+ {{ else }}
<i class="fab fa-{{ $k }}"></i>
+ {{ end }}
</span>
</a>
{{ end }}