Init this site

This commit is contained in:
decentral1se
2021-07-13 10:41:39 +02:00
commit 05eeee19b3
25 changed files with 838 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{{ 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 }}