forked from ruangrupa/lumbung.space
create publishers page
This commit is contained in:
@ -1,45 +1,11 @@
|
||||
{{ define "main" }}
|
||||
<main>
|
||||
|
||||
<main class="publishers-page">
|
||||
{{.Content}}
|
||||
|
||||
<section class='entries'>
|
||||
<div class="h-feed">
|
||||
{{ range where (.Paginator 13).Pages "Params.hidden" "ne" "true" }}
|
||||
|
||||
{{ 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 "shouts" }}
|
||||
|
||||
{{- partial "shout_card.html" . -}}
|
||||
|
||||
{{ else if in .Params.categories "pen" }}
|
||||
|
||||
{{- partial "pen_card.html" . -}}
|
||||
|
||||
{{ else if in .Params.categories "book" }}
|
||||
|
||||
{{- partial "book.html" . -}}
|
||||
|
||||
{{ else if in .Params.categories "page" }}
|
||||
|
||||
{{- partial "blank.html" . -}}
|
||||
|
||||
{{ else }}
|
||||
|
||||
{{- partial "card.html" . -}}
|
||||
|
||||
{{ end }}
|
||||
|
||||
{{- partial "publishers_post_card.html" . -}}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user