This repository has been archived on 2021-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
beta.lumbung.space/themes/lumbung-theme/layouts/index.html

30 lines
504 B
HTML
Raw Normal View History

2021-07-13 08:41:39 +00:00
{{ define "main" }}
<section class='entries'>
<div class="h-feed">
{{ range (.Paginator 10).Pages }}
2021-07-29 06:15:47 +00:00
{{ if in .Params.categories "tv"}}
2021-07-13 08:41:39 +00:00
{{- partial "video_box.html" . -}}
2021-07-29 06:15:47 +00:00
{{ else if in .Params.categories "calendar" }}
2021-07-13 08:41:39 +00:00
{{- partial "calendar_card.html" . -}}
{{ else }}
{{- partial "card.html" . -}}
{{ end }}
{{ end }}
</div>
<nav class="pagination">
{{ template "_internal/pagination.html" . }}
</nav>
</main>
{{ end }}