lumbung.space/themes/lumbung-theme/layouts/index.html

49 lines
1.4 KiB
HTML
Raw Normal View History

2021-12-15 10:09:08 +00:00
{{ define "main" }}
2022-01-13 08:22:22 +00:00
<main>
<section class='entries'>
<div class="h-feed">
{{ range where (.Paginator 13).Pages "Params.hidden" "ne" "true" }}
2021-12-15 10:09:08 +00:00
2022-01-13 08:22:22 +00:00
{{ if in .Params.categories "tv"}}
{{- partial "video_box.html" . -}}
2021-12-15 10:09:08 +00:00
2022-01-13 08:22:22 +00:00
{{ else if in .Params.categories "calendar" }}
2021-12-15 10:09:08 +00:00
2022-01-13 08:22:22 +00:00
{{- partial "calendar_card.html" . -}}
2021-12-15 10:09:08 +00:00
{{ else if in .Params.categories "network" }}
2021-12-15 10:09:08 +00:00
{{- partial "network_card.html" . -}}
2021-12-15 10:09:08 +00:00
2022-04-20 09:54:37 +00:00
{{ else if in .Params.categories "pen" }}
{{- partial "pen_card.html" . -}}
2022-03-25 07:00:37 +00:00
{{ else if in .Params.categories "shouts" }}
{{- partial "shout_card.html" . -}}
2022-01-13 08:22:22 +00:00
{{ else }}
2021-12-15 10:09:08 +00:00
2022-01-13 08:22:22 +00:00
{{- partial "card.html" . -}}
2021-12-15 10:09:08 +00:00
2022-01-13 08:22:22 +00:00
{{ end }}
2021-12-15 10:09:08 +00:00
2022-01-13 08:22:22 +00:00
{{ end }}
</div>
2021-12-15 10:09:08 +00:00
2022-04-13 06:43:18 +00:00
<nav class="pagination-container">
2022-01-13 08:22:22 +00:00
{{ template "_internal/pagination.html" . }}
</nav>
2022-04-07 17:32:42 +00:00
<div class="lumbung-radio-player" onclick="window.open('https://lumbungradio.stationofcommons.org/embed/player?stream=auto&style=premium', 'Lumbung Radio', 'height=150,width=450')">
<svg class="lumbung-radio-play-button" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7 4V20L20 12L7 4Z" fill="#CA14D4" stroke="#CA14D4" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<span>lumbung radio</span>
</div>
2022-01-13 08:22:22 +00:00
</main>
2021-12-15 10:09:08 +00:00
{{ end }}