mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 23:38:56 +00:00
105 lines
2.4 KiB
HTML
105 lines
2.4 KiB
HTML
{{- define "custom-head" -}}
|
|
{{- $ctx := . -}}
|
|
{{- range .Site.Params.customPartials.head -}}
|
|
{{- partial . $ctx -}}
|
|
{{- end -}}
|
|
{{- end -}}
|
|
|
|
{{- define "custom-menu:desktop" -}}
|
|
{{- $ctx := . -}}
|
|
{{- range .Site.Params.customPartials.menuDesktop -}}
|
|
{{- partial . $ctx -}}
|
|
{{- end -}}
|
|
{{- end -}}
|
|
|
|
{{- define "custom-menu:mobile" -}}
|
|
{{- $ctx := . -}}
|
|
{{- range .Site.Params.customPartials.menuMobile -}}
|
|
{{- partial . $ctx -}}
|
|
{{- end -}}
|
|
{{- end -}}
|
|
|
|
{{- define "custom-profile" -}}
|
|
{{- $ctx := . -}}
|
|
{{- range .Site.Params.customPartials.profile -}}
|
|
{{- partial . $ctx -}}
|
|
{{- end -}}
|
|
{{- end -}}
|
|
|
|
{{- define "custom-aside" -}}
|
|
{{- $ctx := . -}}
|
|
{{- range .Site.Params.customPartials.aside -}}
|
|
{{- partial . $ctx -}}
|
|
{{- end -}}
|
|
{{- end -}}
|
|
|
|
{{- define "custom-comment" -}}
|
|
{{- $ctx := . -}}
|
|
{{- range .Site.Params.customPartials.comment -}}
|
|
{{- partial . $ctx -}}
|
|
{{- end -}}
|
|
{{- end -}}
|
|
|
|
{{- define "custom-footer" -}}
|
|
{{- $ctx := . -}}
|
|
{{- range .Site.Params.customPartials.footer -}}
|
|
{{- partial . $ctx -}}
|
|
{{- end -}}
|
|
{{- end -}}
|
|
|
|
{{- define "custom-widgets" -}}
|
|
{{- $ctx := . -}}
|
|
{{- range .Site.Params.customPartials.widgets -}}
|
|
{{- partial . $ctx -}}
|
|
{{- end -}}
|
|
{{- end -}}
|
|
|
|
{{- define "custom-assets" -}}
|
|
{{- $ctx := . -}}
|
|
{{- range .Site.Params.customPartials.assets -}}
|
|
{{- partial . $ctx -}}
|
|
{{- end -}}
|
|
{{- end -}}
|
|
|
|
{{- define "custom-post__toc:before" -}}
|
|
{{- $ctx := . -}}
|
|
{{- range .Site.Params.customPartials.postTocBefore -}}
|
|
{{- partial . $ctx -}}
|
|
{{- end -}}
|
|
{{- end -}}
|
|
|
|
{{- define "custom-post__toc:after" -}}
|
|
{{- $ctx := . -}}
|
|
{{- range .Site.Params.customPartials.postTocAfter -}}
|
|
{{- partial . $ctx -}}
|
|
{{- end -}}
|
|
{{- end -}}
|
|
|
|
{{- define "custom-post__content:before" -}}
|
|
{{- $ctx := . -}}
|
|
{{- range .Site.Params.customPartials.postContentBefore -}}
|
|
{{- partial . $ctx -}}
|
|
{{- end -}}
|
|
{{- end -}}
|
|
|
|
{{- define "custom-post__content:after" -}}
|
|
{{- $ctx := . -}}
|
|
{{- range .Site.Params.customPartials.postContentAfter -}}
|
|
{{- partial . $ctx -}}
|
|
{{- end -}}
|
|
{{- end -}}
|
|
|
|
{{- define "custom-post__footer:before" -}}
|
|
{{- $ctx := . -}}
|
|
{{- range .Site.Params.customPartials.postFooterBefore -}}
|
|
{{- partial . $ctx -}}
|
|
{{- end -}}
|
|
{{- end -}}
|
|
|
|
{{- define "custom-post__footer:after" -}}
|
|
{{- $ctx := . -}}
|
|
{{- range .Site.Params.customPartials.postFooterAfter -}}
|
|
{{- partial . $ctx -}}
|
|
{{- end -}}
|
|
{{- end -}}
|