diff options
author | Dillon <dillonzq@outlook.com> | 2020-04-22 12:50:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-22 12:50:30 +0300 |
commit | 3c38d54a87fcc844075c4ee8efc1ce1d85ac5117 (patch) | |
tree | f1afda359659fcc392b5dde916b09a17c2b09e0c /layouts/_default/baseof.html | |
parent | a0ab272f7d22d1ca4dc9a6ceb467a1f6d8dcd8ae (diff) |
feat(home): add custom content for home page (#248)
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r-- | layouts/_default/baseof.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 0862dfc..eb4c510 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -13,8 +13,8 @@ {{- if eq hugo.Environment "production" -}} {{- .Scratch.Set "cdn" .Site.Params.cdn -}} {{- .Scratch.Set "fingerprint" .Site.Params.fingerprint -}} -{{- else -}} - {{- $params = dict "comment" nil | merge $params -}} + {{- .Scratch.Set "analytics" .Site.Params.analytics -}} + {{- .Scratch.Set "comment" $params.comment -}} {{- end -}} {{- .Scratch.Set "params" $params -}} |