add news ticker iframe to home page
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
f2fe5e8e8b
commit
ab4394b00f
@ -1,40 +1,42 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<section class='entries'>
|
<section class='entries'>
|
||||||
<div class="h-feed">
|
<div class="h-feed">
|
||||||
{{ range (where (.Paginator 13).Pages }}
|
{{ range (where (.Paginator 13).Pages }}
|
||||||
|
|
||||||
{{ if in .Params.categories "tv"}}
|
{{ 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 "shouts" }}
|
|
||||||
|
|
||||||
{{- partial "shout_card.html" . -}}
|
|
||||||
|
|
||||||
{{ else if in .Params.categories "page" }}
|
{{- partial "video_box.html" . -}}
|
||||||
|
|
||||||
{{- partial "blank.html" . -}}
|
{{ else if in .Params.categories "calendar" }}
|
||||||
|
|
||||||
{{ else }}
|
{{- partial "calendar_card.html" . -}}
|
||||||
|
|
||||||
{{- partial "card.html" . -}}
|
{{ else if in .Params.categories "network" }}
|
||||||
|
|
||||||
{{ end }}
|
{{- partial "network_card.html" . -}}
|
||||||
|
|
||||||
{{ end }}
|
{{ else if in .Params.categories "shouts" }}
|
||||||
</div>
|
|
||||||
|
|
||||||
<nav class="pagination">
|
{{- partial "shout_card.html" . -}}
|
||||||
{{ template "_internal/pagination.html" . }}
|
|
||||||
</nav>
|
{{ else if in .Params.categories "page" }}
|
||||||
|
|
||||||
</main>
|
{{- partial "blank.html" . -}}
|
||||||
|
|
||||||
|
{{ else }}
|
||||||
|
|
||||||
|
{{- partial "card.html" . -}}
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<nav class="pagination">
|
||||||
|
{{ template "_internal/pagination.html" . }}
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
</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 }}
|
{{ end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user