From 2052ca892f6dda44443fb70f18af4825b4aa6b86 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Wed, 9 Feb 2022 21:21:33 +0100 Subject: [PATCH] Add head_extra block - Sometiems it's nice to be able to extend the head, for cases like adding stylesheets, etc. --- layouts/_default/baseof.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 5677434..def564b 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -10,6 +10,8 @@ {{ partial "favicon.html" }} {{ partial "title-item.html" . }}{{ .Site.Title }} + + {{ block "head_extra" . }}{{ end }} {{ partial "navbar.html" . }}