Changed file extensions + single issue view

This commit is contained in:
Simon Martens
2024-12-03 16:51:36 +01:00
parent 51afda5ff2
commit 71927afebd
21 changed files with 222 additions and 188 deletions

View 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>