Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShea Polansky <shea@polansky.co>2021-01-07 16:14:06 +0300
committerGitHub <noreply@github.com>2021-01-07 16:14:06 +0300
commitb30fe0a1931deec542fea27166b6983a62032065 (patch)
tree667bbcd99abf0f9b5c479eb141ebfa99b2ae73eb /layouts
parentb6a9ec2b6e10973811ec52135eb27c3986041a9e (diff)
Only include Plausible if enabled (#281)
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/baseof.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 425707b..f15dfd2 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -3,7 +3,7 @@
<head>
{{ block "head" . }}
{{ partial "head/metadata.html" . }}
- {{ partial "head/plausible.html" . }}
+ {{ if .Site.Params.plausible }}{{ partial "head/plausible.html" . }}{{ end }}
{{ partial "head/openGraph.html" . }}
{{ partial "head/favicons.html" . }}
{{ partial "head/css.html" . }}