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 b3da6cdd20 - Show all commits

View File

@@ -15,11 +15,14 @@
{{- $filter := .filter }}
{{- if not $image }}
{{- warnf "Header image '%s' not found for page %s" .src $page.RelPermalink }}
{{- end }}
{{- with $image }}
{{- else }}
{{- $image = partial "image-processing" (dict "image" $image "processes" $processes "filter" $filter) -}}
<img src="{{ $image.RelPermalink }}" />
{{- end }}
<img
src="{{ $image.RelPermalink }}"
{{- with .text }} title="{{ . }}" {{ end }}
{{- with .alt }} alt="{{ . }}" {{ end }}
/>
{{- with .text }}<p>{{ . | markdownify }}</p>{{ end }}
{{- end }}
</div>
{{- end }}