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

github.com/CaiJimmy/hugo-theme-stack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Cai <jimmehcai@gmail.com>2020-09-27 00:00:48 +0300
committerJimmy Cai <jimmehcai@gmail.com>2020-09-27 00:00:48 +0300
commitc19780280e30855de60767404f7ada0585ddf453 (patch)
tree49f658ebe8f959e67bcb06e6cb9958cc88001194 /layouts/_default
parent6e48765d828b0e78018de36932ee1bdb27ed0e70 (diff)
feat: add "head" block
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/baseof.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index fb6e871..06a31e5 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,6 +1,9 @@
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
- {{- partial "head/head.html" . -}}
+ <head>
+ {{- partial "head/head.html" . -}}
+ {{- block "head" . -}}{{ end }}
+ </head>
<body class="{{ block `body-class` . }}{{ end }}">
<div class="container flex on-phone--column align-items--flex-start {{ if .Site.Params.widgets.enabled }}extended{{ else }}compact{{ end }} {{ block `container-class` . }}{{end}}">
{{ partial "sidebar/left.html" . }}