if posts are of section pen, we render them as pen cards
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
600d242be8
commit
e07393b97e
@ -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" }}
|
||||||
|
Loading…
Reference in New Issue
Block a user