Add custom head partial

This commit is contained in:
AnimMouse 2020-06-02 14:24:27 +08:00
parent 624b79e7f6
commit 3f18e910c8
No known key found for this signature in database
GPG Key ID: 5BDD312DBA31D125
2 changed files with 1 additions and 0 deletions

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 }}">

View File