mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 17:22:46 +00:00
Add sharethis buttons.
This commit is contained in:
parent
914e7ef989
commit
33d202b7c6
@ -47,6 +47,9 @@
|
|||||||
|
|
||||||
{{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }}
|
{{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }}
|
||||||
{{ template "_internal/google_analytics_async.html" . }}
|
{{ template "_internal/google_analytics_async.html" . }}
|
||||||
|
{{ if (getenv "HUGO_SHARETHISPROPERTY") | and (.Params.sharethis) }}
|
||||||
|
<script type='text/javascript' src='//platform-api.sharethis.com/js/sharethis.js#property={{ getenv "HUGO_SHARETHISPROPERTY" }}&product=sticky-share-buttons' async='async'></script>
|
||||||
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user