mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-29 17:25:32 +00:00
Statische Seiten
This commit is contained in:
@@ -1 +1,22 @@
|
||||
<div class="mt-12 pt-3 border-t">Datenschutz, Impressum.</div>
|
||||
{{- $date := Today -}}
|
||||
<footer class="container-normal pb-1.5 text-base text-gray-800">
|
||||
<div class="mt-12 pt-3 flex flex-row justify-between">
|
||||
<div>
|
||||
<i class="ri-creative-commons-line"></i>
|
||||
<i class="ri-creative-commons-by-line"></i>
|
||||
<a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>
|
||||
<span>·</span>
|
||||
<span>{{- (GetMonth $date).Name }} {{ $date.Year }}</span>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<span>{{- .site.title }} – ein Projekt der</span>
|
||||
<a href="https://theodor-springmann-stiftung.de">Theodor Springmann Stiftung</a>
|
||||
<span>·</span>
|
||||
<a href="/datenschutz/">Impressum & Datenschutz</a>
|
||||
<span>·</span>
|
||||
<i class="ri-code-line"></i>
|
||||
<a href="https://github.com/Theodor-Springmann-Stiftung/musenalm">Code</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<button
|
||||
{{ if and $model.page (HasPrefix $model.page.Path "/edition") -}}
|
||||
aria-current="true"
|
||||
{{- end -}}
|
||||
{{- end }}
|
||||
data-url="/edition/"
|
||||
class="text-slate-600 hover:text-slate-900 hover:cursor-pointer hover:bg-slate-100
|
||||
!pr-2.5"
|
||||
|
||||
@@ -29,29 +29,6 @@
|
||||
<link href="/assets/css/remixicon.css" rel="stylesheet" />
|
||||
<link rel="stylesheet" type="text/css" href="/assets/css/fonts.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/assets/style.css" />
|
||||
|
||||
{{ if .isDev -}}
|
||||
{{/* INFO: this runs airs injected script on page load, in dev mode */}}
|
||||
{{/* INFO: Make sure airs proxy runs on port 8081 */}}
|
||||
<script type="module">
|
||||
function hookupAIR() {
|
||||
const port = window.location.port;
|
||||
if (!port || port !== "8081") {
|
||||
return;
|
||||
}
|
||||
document.body.addEventListener("htmx:afterSwap", (event) => {
|
||||
if (event.detail.target === document.body) {
|
||||
const scriptEl = document.querySelector("body > script:last-of-type");
|
||||
if (scriptEl && scriptEl.textContent.trim()) {
|
||||
new Function(scriptEl.textContent)();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
hookupAIR();
|
||||
</script>
|
||||
{{- end }}
|
||||
</head>
|
||||
|
||||
<body class="w-full text-lg" hx-ext="response-targets" hx-boost="true">
|
||||
@@ -68,10 +45,9 @@
|
||||
{{ end }}
|
||||
</main>
|
||||
|
||||
<footer class="container-normal">
|
||||
{{ block "_footer" . }}
|
||||
{{ end }}
|
||||
</footer>
|
||||
{{ block "_footer" . }}
|
||||
{{ end }}
|
||||
|
||||
|
||||
<scroll-button></scroll-button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user