Files
FlareBlog/layouts/partials/custom.html
JamesFlare1212 218dcad925 update theme
2024-11-07 21:15:07 -05:00

64 lines
1.5 KiB
HTML

{{- define "custom-head" -}}
{{- $ctx := . -}}
{{- range .Site.Params.customPartials.head -}}
{{- 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 -}}
{{- partial "inject/component-projects.html" . -}}
{{- 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 -}}