lumbung.space/themes/lumbung-theme/layouts/index.html
Aadil Ayub fdf9edec53
All checks were successful
continuous-integration/drone/push Build is passing
style pen cards
2022-04-20 14:54:37 +05:00

49 lines
1.4 KiB
HTML

{{ define "main" }}
<main>
<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 "pen" }}
{{- partial "pen_card.html" . -}}
{{ else if in .Params.categories "shouts" }}
{{- partial "shout_card.html" . -}}
{{ else }}
{{- partial "card.html" . -}}
{{ end }}
{{ end }}
</div>
<nav class="pagination-container">
{{ template "_internal/pagination.html" . }}
</nav>
<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>
</main>
{{ end }}