Browse Source

Merge github.com:AnimMouse/gohugo-theme-ananke into 283-add-head-partial

283-add-head-partial
mountainbug95 4 years ago
parent
commit
de8610c306
No account linked to committer's email address
2 changed files with 1 additions and 0 deletions
  1. 1
    0
      layouts/_default/baseof.html
  2. 0
    0
      layouts/partials/site-head.html

+ 1
- 0
layouts/_default/baseof.html View File

@@ -42,6 +42,7 @@
{{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }}
{{ template "_internal/google_analytics_async.html" . }}
{{ end }}
{{ block "head" . }}{{ partialCached "site-head.html" . }}{{ end }}
</head>

<body class="ma0 {{ $.Param "body_classes" | default "avenir bg-near-white"}}{{ with getenv "HUGO_ENV" }} {{ . }}{{ end }}">

+ 0
- 0
layouts/partials/site-head.html View File


Loading…
Cancel
Save