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

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2020-04-22 12:50:30 +0300
committerGitHub <noreply@github.com>2020-04-22 12:50:30 +0300
commit3c38d54a87fcc844075c4ee8efc1ce1d85ac5117 (patch)
treef1afda359659fcc392b5dde916b09a17c2b09e0c /layouts/_default/baseof.html
parenta0ab272f7d22d1ca4dc9a6ceb467a1f6d8dcd8ae (diff)
feat(home): add custom content for home page (#248)
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html4
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 -}}