Add head_extra block

- Sometiems it's nice to be able to extend the head, for cases like
  adding stylesheets, etc.
This commit is contained in:
ItsDrike 2022-02-09 21:21:33 +01:00
parent 3864c455a5
commit 2052ca892f
No known key found for this signature in database
GPG key ID: B014E761034AF742

View file

@ -10,6 +10,8 @@
{{ partial "favicon.html" }} {{ partial "favicon.html" }}
<title>{{ partial "title-item.html" . }}{{ .Site.Title }}</title> <title>{{ partial "title-item.html" . }}{{ .Site.Title }}</title>
{{ block "head_extra" . }}{{ end }}
</head> </head>
<body> <body>
{{ partial "navbar.html" . }} {{ partial "navbar.html" . }}