if posts are of section pen, we render them as pen cards
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
rra 2024-11-20 13:37:03 +01:00
parent 600d242be8
commit e07393b97e

View File

@ -23,11 +23,14 @@
{{- partial "partials/shout_card.html" . -}} {{- partial "partials/shout_card.html" . -}}
{{ end }} {{ end }}
{{ else if eq .Section "timeline" }} {{ else if eq .Section "pen" }}
{{ if in .Params.sources "pen.lumbung.space" }}
{{- partial "partials/pen_card.html" . -}}
{{ end }}
{{ else if eq .Section "timeline"}}
{{ if in .Params.sources "pen.lumbung.space" }} {{ if in .Params.sources "pen.lumbung.space" }}
{{- partial "partials/pen_card.html" . -}} {{- partial "partials/pen_card.html" . -}}
{{ else }}
{{- partial "partials/shout_card.html" . -}}
{{ end }} {{ end }}
{{ else if eq .Section "social" }} {{ else if eq .Section "social" }}