mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
Merge pull request #2116 from ZhenShuo2021/feat/extend-head
✨ Feat: support extend-head access .Page (#1781)
This commit is contained in:
@@ -136,6 +136,10 @@
|
|||||||
{{ if templates.Exists "partials/extend-head.html" }}
|
{{ if templates.Exists "partials/extend-head.html" }}
|
||||||
{{ partialCached "extend-head.html" .Site }}
|
{{ partialCached "extend-head.html" .Site }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{/* Uncached extend head - e.g. {{ with .Page.HasShortcode "gallery" }} do something {{ end }} */}}
|
||||||
|
{{ if templates.Exists "partials/extend-head-uncached.html" }}
|
||||||
|
{{ partial "extend-head-uncached.html" . }}
|
||||||
|
{{ end }}
|
||||||
<meta name="theme-color"/>
|
<meta name="theme-color"/>
|
||||||
{{/* Firebase */}}
|
{{/* Firebase */}}
|
||||||
{{ with $.Site.Params.firebase }}
|
{{ with $.Site.Params.firebase }}
|
||||||
|
|||||||
Reference in New Issue
Block a user