add news ticker iframe to home page

This commit is contained in:
Aadil Ayub 2022-01-07 13:17:10 +05:00
parent f2fe5e8e8b
commit ab4394b00f

View File

@ -1,40 +1,42 @@
{{ define "main" }}
<section class='entries'>
<div class="h-feed">
{{ range (where (.Paginator 13).Pages }}
<section class='entries'>
<div class="h-feed">
{{ range (where (.Paginator 13).Pages }}
{{ if in .Params.categories "tv"}}
{{ if in .Params.categories "tv"}}
{{- partial "video_box.html" . -}}
{{- partial "video_box.html" . -}}
{{ else if in .Params.categories "calendar" }}
{{ else if in .Params.categories "calendar" }}
{{- partial "calendar_card.html" . -}}
{{- partial "calendar_card.html" . -}}
{{ else if in .Params.categories "network" }}
{{ else if in .Params.categories "network" }}
{{- partial "network_card.html" . -}}
{{- partial "network_card.html" . -}}
{{ else if in .Params.categories "shouts" }}
{{ else if in .Params.categories "shouts" }}
{{- partial "shout_card.html" . -}}
{{- partial "shout_card.html" . -}}
{{ else if in .Params.categories "page" }}
{{ else if in .Params.categories "page" }}
{{- partial "blank.html" . -}}
{{- partial "blank.html" . -}}
{{ else }}
{{ else }}
{{- partial "card.html" . -}}
{{- partial "card.html" . -}}
{{ end }}
{{ end }}
</div>
{{ end }}
</div>
<nav class="pagination">
{{ template "_internal/pagination.html" . }}
</nav>
<nav class="pagination">
{{ template "_internal/pagination.html" . }}
</nav>
</main>
</main>
<iframe src="https://documenta-fifteen.de/en/external-ticker-lumbung/" sandbox="allow-same-origin allow-scripts allow-popups allow-popups-to-escape-sandbox" scrolling="no" style="overflow: hidden" width="100%" height="80px" frameborder="0"></iframe>
{{ end }}