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

gitlab.com/rmaguiar/hugo-theme-color-your-world.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphael Aguiar <rmaguiar@tuta.io>2020-06-26 22:01:37 +0300
committerRaphael Aguiar <rmaguiar@tuta.io>2020-06-26 22:01:37 +0300
commitd512cdb078a0129bea2e96de85f16d04c8b23e1a (patch)
tree3e9ebb340156be8dfc4ea3e41492c3ba84edd2e8 /layouts/shortcodes
parentfe6d519f8e5f5267aa6de12930cb75fba0ddbaa6 (diff)
Update social stuff
* Add .Page scope to bundle.svg and head partial * Fix social buttons order (reddit > stack overflow)
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r--layouts/shortcodes/social.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/layouts/shortcodes/social.html b/layouts/shortcodes/social.html
index 2740069..7e94a9b 100644
--- a/layouts/shortcodes/social.html
+++ b/layouts/shortcodes/social.html
@@ -175,10 +175,10 @@
{{ end }}
- {{ with or $centralizedOnPage.stackOverflow $centralizedOnSite.stackOverflow }}
+ {{ with or $centralizedOnPage.reddit $centralizedOnSite.reddit }}
{{ $url := (index . 0) }}
- {{ $label := "Stack Overflow" }}
+ {{ $label := "Reddit" }}
{{ with (index . 1) }}
{{ $label = . }}
@@ -186,7 +186,7 @@
<a rel="me nofollow" href="{{ $url }}" title="{{ $label }}">
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
- <use xlink:href="{{ $icons }}#stack-overflow"/>
+ <use xlink:href="{{ $icons }}#reddit"/>
</svg>
<p>{{ $label }}</p>
@@ -195,10 +195,10 @@
{{ end }}
- {{ with or $centralizedOnPage.reddit $centralizedOnSite.reddit }}
+ {{ with or $centralizedOnPage.stackOverflow $centralizedOnSite.stackOverflow }}
{{ $url := (index . 0) }}
- {{ $label := "Reddit" }}
+ {{ $label := "Stack Overflow" }}
{{ with (index . 1) }}
{{ $label = . }}
@@ -206,7 +206,7 @@
<a rel="me nofollow" href="{{ $url }}" title="{{ $label }}">
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
- <use xlink:href="{{ $icons }}#reddit"/>
+ <use xlink:href="{{ $icons }}#stack-overflow"/>
</svg>
<p>{{ $label }}</p>