Convert links list to individual blog entries #11

Merged
mxmehl merged 32 commits from links-as-blog into main 2026-02-23 16:16:11 +01:00
Showing only changes of commit c226b761a9 - Show all commits

View File

@@ -12,8 +12,12 @@
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- $processes := .processes | default (slice "fill 1000x440 webp" )}} {{- $processes := .processes | default (slice "fill 1000x440 webp" )}}
{{- $image = partial "image-processing" (dict "image" $image "processes" $processes "filter" .filter) -}} {{- $filter := .filter }}
{{- if not $image }}
{{- warnf "Header image '%s' not found for page %s" .src $page.RelPermalink }}
{{- end }}
{{- with $image }} {{- with $image }}
{{- $image = partial "image-processing" (dict "image" $image "processes" $processes "filter" $filter) -}}
<img src="{{ .RelPermalink }}" /> <img src="{{ .RelPermalink }}" />
{{- end }} {{- end }}
{{- with .text }}<p>{{ . | markdownify }}</p>{{ end }} {{- with .text }}<p>{{ . | markdownify }}</p>{{ end }}