mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-28 16:45:32 +00:00
64 lines
1.8 KiB
Plaintext
64 lines
1.8 KiB
Plaintext
<!doctype html>
|
|
<html class="w-full h-full" {{ if .lang }}lang="{{ .lang }}"{{ end }}>
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
|
|
{{ block "head" . }}
|
|
<!-- Default Head elements -->
|
|
{{ end }}
|
|
|
|
{{ if .isDev }}
|
|
<link rel="icon" href="/assets/logo/dev_favicon.png" />
|
|
{{ else }}
|
|
<link rel="icon" href="/assets/logo/favicon.png" />
|
|
{{ end }}
|
|
|
|
|
|
<link href="/assets/css/remixicon.css" rel="stylesheet" />
|
|
<script>
|
|
// Configure HTMX scroll behavior
|
|
document.addEventListener('DOMContentLoaded', function() {
|
|
if (typeof htmx !== 'undefined') {
|
|
htmx.config.scrollBehavior = 'instant';
|
|
}
|
|
});
|
|
// Fallback configuration
|
|
window.addEventListener('load', function() {
|
|
if (typeof htmx !== 'undefined') {
|
|
htmx.config.scrollBehavior = 'instant';
|
|
}
|
|
});
|
|
</script>
|
|
<script src="/assets/js/alpine.min.js" defer></script>
|
|
<script src="/assets/js/htmx.min.js" defer></script>
|
|
<script src="/assets/js/htmx-response-targets.js" defer></script>
|
|
<script src="/assets/js/client-side-templates.js" defer></script>
|
|
|
|
<link rel="stylesheet" type="text/css" href="/assets/css/fonts.css?v=1.0" />
|
|
<link rel="stylesheet" type="text/css" href="/assets/style.css?v=1.0" />
|
|
|
|
<script type="module">
|
|
import { setup } from "/assets/scripts.js";
|
|
setup();
|
|
</script>
|
|
</head>
|
|
|
|
<body class="w-full" hx-ext="response-targets" hx-boost="true">
|
|
{{ template "_header" . }}
|
|
<div class="container flex flex-col min-h-screen max-w-(--breakpoint-2xl) mx-auto">
|
|
<main class="">
|
|
{{ block "body" . }}
|
|
<!-- Default app body... -->
|
|
{{ end }}
|
|
</main>
|
|
</div>
|
|
{{ block "_footer" . }}
|
|
{{ end }}
|
|
|
|
<!-- Scroll to Top Button -->
|
|
<scroll-to-top-button></scroll-to-top-button>
|
|
|
|
{{ EmbedXSLT "xslt/transform-citation.xsl" }}
|
|
</body>
|
|
</html>
|