mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-29 00:55:32 +00:00
Changed file extensions + single issue view
This commit is contained in:
43
views/layouts/default/root.gohtml
Normal file
43
views/layouts/default/root.gohtml
Normal file
@@ -0,0 +1,43 @@
|
||||
<!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 }}
|
||||
|
||||
{{ if (and .name .title) }}
|
||||
<title>{{ .name }} - {{ .title }}</title>
|
||||
{{ else if .name }}
|
||||
<title>{{ .name }}</title>
|
||||
{{ else if .title }}
|
||||
<title>{{ .title }}</title>
|
||||
{{ end }}
|
||||
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/assets/style.css" />
|
||||
<link href="/assets/css/remixicon.css" rel="stylesheet" />
|
||||
<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 type="module">
|
||||
import { setup } from "/assets/scripts.js";
|
||||
setup();
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body class="w-full h-full" hx-ext="response-targets">
|
||||
{{ block "body" . }}
|
||||
<!-- Default app body... -->
|
||||
{{ end }}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user