diff options
| author | roninro <liumy.f@foxmail.com> | 2022-07-28 20:07:02 +0800 |
|---|---|---|
| committer | roninro <liumy.f@foxmail.com> | 2022-07-28 20:07:02 +0800 |
| commit | bc559f5b07a11b8c1e54b2f9b3c0b2eed8aed80d (patch) | |
| tree | 0bdbc2c2498df9462ea5772e8712a5bdffe85f85 /layouts | |
| parent | 04a4ceaedfad5cccd3961e9f71833e1382dcf2fc (diff) | |
support GoogleAnalytics
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/partials/footer.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 5eda267..e570d42 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -146,4 +146,6 @@ }); </script> -{{ template "_internal/google_analytics.html" . }}
\ No newline at end of file +{{ if not .Site.IsServer }} + {{ template "_internal/google_analytics.html" . }} +{{ end }} |
