diff options
author | Raphael Aguiar <rmaguiar@tuta.io> | 2020-06-26 22:01:37 +0300 |
---|---|---|
committer | Raphael Aguiar <rmaguiar@tuta.io> | 2020-06-26 22:01:37 +0300 |
commit | d512cdb078a0129bea2e96de85f16d04c8b23e1a (patch) | |
tree | 3e9ebb340156be8dfc4ea3e41492c3ba84edd2e8 /layouts/shortcodes | |
parent | fe6d519f8e5f5267aa6de12930cb75fba0ddbaa6 (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.html | 12 |
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> |