diff --git a/layouts/partials/custom.html b/layouts/partials/custom.html new file mode 100644 index 0000000..fe98596 --- /dev/null +++ b/layouts/partials/custom.html @@ -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 -}} diff --git a/themes/FixIt b/themes/FixIt index 9d0518e..5518053 160000 --- a/themes/FixIt +++ b/themes/FixIt @@ -1 +1 @@ -Subproject commit 9d0518eb852ea25d0bea294616f8728fe3328f50 +Subproject commit 5518053a2642540add8aa9af5965d50e58149ba2 diff --git a/themes/component-projects b/themes/component-projects index 259e0a1..f0cfd68 160000 --- a/themes/component-projects +++ b/themes/component-projects @@ -1 +1 @@ -Subproject commit 259e0a110521289b86b965d1064e2268391d8541 +Subproject commit f0cfd68c4240a0374203d72b8561a9751715c8ea