change header & major rework of taxonomies as part of frontpage redesign
This commit is contained in:
@ -6,22 +6,34 @@
|
||||
|
||||
<span class="date-marker">{{ .Key }}</span>
|
||||
{{ range .Pages }}
|
||||
{{ if in .Params.categories "tv"}}
|
||||
{{- partial "video_box.html" . -}}
|
||||
{{ else if in .Params.categories "calendar" }}
|
||||
{{- partial "calendar_card.html" . -}}
|
||||
{{ else if in .Params.categories "network" }}
|
||||
{{- partial "network_card.html" . -}}
|
||||
{{ else if in .Params.categories "pen" }}
|
||||
{{- partial "pen_card.html" . -}}
|
||||
{{ else if in .Params.categories "shouts" }}
|
||||
{{- partial "shout_card.html" . -}}
|
||||
{{ else if in .Params.categories "books.lumbung.space"}}
|
||||
{{- partial "book_card.html" . -}}
|
||||
{{ else }}
|
||||
{{- partial "card.html" . -}}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{if eq .Section "tv"}}
|
||||
{{- partial "video_box.html" . -}}
|
||||
|
||||
{{ else if eq .Section "events" }}
|
||||
{{- partial "partials/calendar_card.html" . -}}
|
||||
|
||||
{{ else if eq .Section "shouts" }}
|
||||
{{ if in .Params.sources "pen.lumbung.space" }}
|
||||
{{- partial "pen_card.html" . -}}
|
||||
{{ else }}
|
||||
{{- partial "shout_card.html" . -}}
|
||||
{{ end }}
|
||||
|
||||
{{ else if eq .Section "social" }}
|
||||
{{- partial "social_card.html" . -}}
|
||||
|
||||
{{ else if eq .Section "publications"}}
|
||||
{{- partial "book_card.html" . -}}
|
||||
|
||||
{{ else if eq .Section "sounds"}}
|
||||
{{- partial "sounds_card.html" . -}}
|
||||
|
||||
{{ else }}
|
||||
{{- partial "card.html" . -}}
|
||||
{{ end }}
|
||||
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
<nav class="pagination-container">
|
||||
|
Reference in New Issue
Block a user