a hugo theme for lumbung.space
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
{{ define "main" }}
|
|
|
|
<section class='entries'>
|
|
|
|
<div class="h-feed">
|
|
|
|
{{ range (.Paginator 10).Pages }}
|
|
|
|
|
|
|
|
{{ if in .Params.category "tv"}}
|
|
|
|
|
|
|
|
{{- partial "video_box.html" . -}}
|
|
|
|
|
|
|
|
{{ else if in .Params.category "calendar" }}
|
|
|
|
|
|
|
|
{{- partial "calendar_card.html" . -}}
|
|
|
|
|
|
|
|
{{ else }}
|
|
|
|
|
|
|
|
{{- partial "card.html" . -}}
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<nav class="pagination">
|
|
|
|
{{ template "_internal/pagination.html" . }}
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
</main>
|
|
|
|
{{ end }}
|
|
|
|
|