move news ticker into partial
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Aadil Ayub 2022-01-13 13:22:22 +05:00
parent 798ef02616
commit 1e0dac036a
4 changed files with 56 additions and 52 deletions

View File

@ -3,9 +3,13 @@
{{- partial "head.html" . -}}
<body>
{{- partial "header.html" . -}}
<div id="content">
{{- block "main" . }}{{- end }}
</div>
{{- partial "news-ticker.html" . -}}
{{- partial "footer.html" . -}}
</body>
<script>

View File

@ -1,4 +1,5 @@
{{ define "main" }}
<main>
<section class='entries'>
<div class="h-feed">
{{ range (.Paginator 13).Pages }}
@ -35,6 +36,5 @@
<nav class="pagination">
{{ template "_internal/pagination.html" . }}
</nav>
</main>
{{ end }}

View File

@ -1,4 +1,5 @@
{{ define "main" }}
<main>
<section class='entries'>
<div class="h-feed">
{{ range (.Paginator 13).Pages }}
@ -31,8 +32,6 @@
<nav class="pagination">
{{ template "_internal/pagination.html" . }}
</nav>
<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>
</main>
{{ end }}

View File

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