Small fix for hardcoded values

This commit is contained in:
Pablo Marcos 2021-09-07 20:31:11 +02:00 committed by hossainemruz
parent a1764efc3b
commit 9b7af0bdff
4 changed files with 10 additions and 1 deletions

View file

@ -53,6 +53,9 @@ other = "Prev"
[next] [next]
other = "Next" other = "Next"
[share_on]
other = "Share on"
[improve_this_page] [improve_this_page]
other = "Improve this page" other = "Improve this page"

View file

@ -53,6 +53,9 @@ other = "Anterior"
[next] [next]
other = "Siguiente" other = "Siguiente"
[share_on]
other = "Compartir en"
[improve_this_page] [improve_this_page]
other = "Mejorar esta página" other = "Mejorar esta página"

View file

@ -53,6 +53,9 @@ other = "Précédent"
[next] [next]
other = "Suivant" other = "Suivant"
[share_on]
other = "Partager sur"
[improve_this_page] [improve_this_page]
other = "Améliorez cette page" other = "Améliorez cette page"

View file

@ -73,7 +73,7 @@
{{ if site.Params.SocialButtons }} {{ if site.Params.SocialButtons }}
<div class="socialbuttons"> <div class="socialbuttons">
Share on: {{ i18n "share_on" }}":
{{ if site.Params.SocialButtons.facebook }} {{ if site.Params.SocialButtons.facebook }}
<a href="https://www.facebook.com/sharer.php?u={{ .Permalink }}" target="_blank" style="color: #3b5998"> <i class="fab fa-facebook fa-lg"></i></a> <a href="https://www.facebook.com/sharer.php?u={{ .Permalink }}" target="_blank" style="color: #3b5998"> <i class="fab fa-facebook fa-lg"></i></a>
{{ end }} {{ end }}