docs: move image link to footer

Signed-off-by: nιcнolaѕ wιlde <ncwilde43@gmail.com>
This commit is contained in:
nιcнolaѕ wιlde 2023-03-19 23:14:33 -07:00
parent fa8ce9703d
commit 277ebd919a
No known key found for this signature in database
GPG Key ID: F08AD0AD08B7D7A3
37 changed files with 495 additions and 64 deletions

View File

@ -1,3 +1,14 @@
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
comments: true
tags:
@ -5,7 +16,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "cook.lazyImageSection" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -16,3 +27,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,3 +1,14 @@
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
comments: true
tags:
@ -5,7 +16,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "cook.lazyImageSection" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -16,3 +27,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,3 +1,14 @@
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
comments: true
tags:
@ -5,7 +16,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "cook.lazyImageSection" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -16,3 +27,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,3 +1,14 @@
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
comments: true
tags:
@ -5,7 +16,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "cook.lazyImageSection" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -16,3 +27,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,3 +1,14 @@
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
comments: true
tags:
@ -7,7 +18,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "cook.lazyImageSection" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -18,3 +29,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,3 +1,14 @@
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
comments: true
tags:
@ -5,7 +16,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "cook.lazyImageSection" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -16,3 +27,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,6 +1,12 @@
{{- define "custom.section" -}}
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}](../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}){ loading=lazy }
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
@ -11,7 +17,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "custom.section" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -22,3 +28,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,6 +1,12 @@
{{- define "custom.section" -}}
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}](../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}){ loading=lazy }
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
@ -11,7 +17,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "custom.section" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -22,3 +28,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,6 +1,12 @@
{{- define "custom.section" -}}
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}](../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}){ loading=lazy }
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
@ -11,7 +17,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "custom.section" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -22,3 +28,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,3 +1,14 @@
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
comments: true
tags:
@ -5,7 +16,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "cook.lazyImageSection" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -16,3 +27,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,6 +1,12 @@
{{- define "custom.section" -}}
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}](../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}){ loading=lazy }
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
@ -11,7 +17,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "custom.section" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -22,3 +28,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,3 +1,14 @@
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
comments: true
tags:
@ -5,7 +16,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "cook.lazyImageSection" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -16,3 +27,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,3 +1,14 @@
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
comments: true
tags:
@ -5,7 +16,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "cook.lazyImageSection" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -16,3 +27,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,3 +1,14 @@
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
comments: true
tags:
@ -5,7 +16,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "cook.lazyImageSection" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -16,3 +27,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -0,0 +1,32 @@
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
comments: true
tags:
- butter
- ingredient
---
{{ template "cook.headerSection" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
{{ template "cook.ingredientsSection" . }}
{{ template "cook.cookwareSection" . }}
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,6 +1,12 @@
{{- define "custom.section" -}}
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}](../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}){ loading=lazy }
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
@ -11,7 +17,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "custom.section" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -22,3 +28,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,6 +1,12 @@
{{- define "custom.section" -}}
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}](../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}){ loading=lazy }
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
@ -11,7 +17,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "custom.section" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -22,3 +28,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,6 +1,12 @@
{{- define "custom.section" -}}
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}](../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}){ loading=lazy }
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
@ -11,7 +17,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "custom.section" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -22,3 +28,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,6 +1,12 @@
{{- define "custom.section" -}}
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}](../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}){ loading=lazy }
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
@ -11,7 +17,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "custom.section" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -22,3 +28,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,6 +1,12 @@
{{- define "custom.section" -}}
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}](../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}){ loading=lazy }
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
@ -11,7 +17,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "custom.section" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -22,3 +28,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,6 +1,12 @@
{{- define "custom.section" -}}
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}](../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}){ loading=lazy }
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
@ -11,7 +17,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "custom.section" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -22,3 +28,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,6 +1,12 @@
{{- define "custom.section" -}}
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}](../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}){ loading=lazy }
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
@ -11,7 +17,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "custom.section" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -22,3 +28,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,3 +1,14 @@
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
comments: true
tags:
@ -5,7 +16,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "cook.lazyImageSection" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -16,3 +27,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,6 +1,12 @@
{{- define "custom.section" -}}
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}](../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}){ loading=lazy }
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
@ -11,7 +17,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "custom.section" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -22,3 +28,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,6 +1,12 @@
{{- define "custom.section" -}}
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}](../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}){ loading=lazy }
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
@ -11,7 +17,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "custom.section" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -22,3 +28,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,6 +1,12 @@
{{- define "custom.section" -}}
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}](../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}){ loading=lazy }
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
@ -11,7 +17,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "custom.section" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -22,3 +28,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,3 +1,14 @@
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
comments: true
tags:
@ -5,7 +16,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "cook.lazyImageSection" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -16,3 +27,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,3 +1,14 @@
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
comments: true
tags:
@ -5,7 +16,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "cook.lazyImageSection" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -16,3 +27,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,3 +1,14 @@
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
comments: true
tags:
@ -5,7 +16,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "cook.lazyImageSection" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -16,3 +27,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,3 +1,14 @@
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
comments: true
tags:
@ -5,7 +16,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "cook.lazyImageSection" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -16,3 +27,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,3 +1,14 @@
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
comments: true
tags:
@ -5,7 +16,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "cook.lazyImageSection" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -16,3 +27,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,3 +1,14 @@
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
comments: true
tags:
@ -5,7 +16,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "cook.lazyImageSection" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -16,3 +27,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,3 +1,14 @@
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
comments: true
tags:
@ -6,7 +17,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "cook.lazyImageSection" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -17,3 +28,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,3 +1,14 @@
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
comments: true
tags:
@ -5,7 +16,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "cook.lazyImageSection" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -16,3 +27,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,3 +1,14 @@
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
comments: true
tags:
@ -6,7 +17,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "cook.lazyImageSection" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -17,3 +28,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,3 +1,15 @@
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
comments: true
tags:
@ -5,7 +17,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "cook.lazyImageSection" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -16,3 +28,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}

View File

@ -1,3 +1,14 @@
{{- define "custom.image" -}}
{{ if .Info.ImageFileName }}
![{{ .Info.RecipeName }}][1]{ loading=lazy }
{{ end }}
{{- end -}}
{{- define "custom.footer" -}}
{{ if .Info.ImageFileName }}
[1]: <../assets/images/{{ lower .Info.ImageFileName | replace " " "-" }}>
{{ end }}
{{- end -}}
---
comments: true
tags:
@ -5,7 +16,7 @@ tags:
---
{{ template "cook.headerSection" . }}
{{ template "cook.lazyImageSection" . }}
{{ template "custom.image" . }}
{{ template "cook.tableSection" . }}
@ -16,3 +27,5 @@ tags:
{{ template "cook.stepsSection" . -}}
{{ template "cook.sourceSection" . }}
{{ template "custom.footer" . }}