update theme

This commit is contained in:
JamesFlare1212
2024-11-07 21:08:48 -05:00
parent 02cce87a93
commit 218dcad925
3 changed files with 65 additions and 2 deletions

View File

@@ -0,0 +1,63 @@
{{- 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 -}}