diff options
Diffstat (limited to 'layouts/partials/post-footer.html')
-rw-r--r-- | layouts/partials/post-footer.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/post-footer.html b/layouts/partials/post-footer.html index fd62181..3effc75 100644 --- a/layouts/partials/post-footer.html +++ b/layouts/partials/post-footer.html @@ -11,7 +11,7 @@ {{ end}} <div class="share"> - {{ if or (not (isset .Site.Params "sharetwitter")) .Site.Params.shareTwitter }} + {{ if .Site.Params.shareTwitter }} <a class="icon-twitter" href="https://twitter.com/share?text={{ .Title }}&url={{ .Permalink }}" onclick="window.open(this.href, 'twitter-share', 'width=550,height=235');return false;"> <i class="fa fa-twitter"></i> @@ -19,7 +19,7 @@ </a> {{ end }} - {{ if or (not (isset .Site.Params "sharefacebook")) .Site.Params.shareFacebook }} + {{ if .Site.Params.sharefacebook }} <a class="icon-facebook" href="https://www.facebook.com/sharer/sharer.php?u={{ .Permalink }}" onclick="window.open(this.href, 'facebook-share','width=580,height=296');return false;"> <i class="fa fa-facebook"></i> @@ -27,7 +27,7 @@ </a> {{ end }} - {{ if or (not (isset .Site.Params "sharegoogleplus")) .Site.Params.shareGooglePlus }} + {{ if .Site.Params.shareGooglePlus }} <a class="icon-google-plus" href="https://plus.google.com/share?url={{ .Permalink }}" onclick="window.open(this.href, 'google-plus-share', 'width=490,height=530');return false;"> <i class="fa fa-google-plus"></i> @@ -42,4 +42,4 @@ </a> {{ end }} </div> -</footer>
\ No newline at end of file +</footer> |