mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-12-16 03:55:30 +00:00
BUGFIX: order of locals and globasl in template parsing
This commit is contained in:
@@ -1 +0,0 @@
|
||||
<title>KGPZ - Ausgaben {{ .model.year }}</title>
|
||||
1
views/layouts/components/_menu.gohtml
Normal file
1
views/layouts/components/_menu.gohtml
Normal file
@@ -0,0 +1 @@
|
||||
this is the menu
|
||||
@@ -13,14 +13,6 @@
|
||||
<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" />
|
||||
@@ -35,6 +27,10 @@
|
||||
</head>
|
||||
|
||||
<body class="w-full h-full" hx-ext="response-targets">
|
||||
{{ block "_menu" . }}
|
||||
<!-- Default app menu... -->
|
||||
{{ end }}
|
||||
|
||||
{{ block "body" . }}
|
||||
<!-- Default app body... -->
|
||||
{{ end }}
|
||||
|
||||
@@ -1 +1 @@
|
||||
<title>KGPZ - Impressum & Datenschutz</title>
|
||||
<title>KGPZ – Impressum & Datenschutz</title>
|
||||
|
||||
@@ -1 +1 @@
|
||||
<title>KGPZ - Geschichte & Edition</title>
|
||||
<title>KGPZ – Geschichte & Edition</title>
|
||||
|
||||
1
views/routes/head.gohtml
Normal file
1
views/routes/head.gohtml
Normal file
@@ -0,0 +1 @@
|
||||
<title>KGPZ – Ausgaben {{ .model.Year }}</title>
|
||||
@@ -1 +1 @@
|
||||
<title>KGPZ - Ausgabe {{ .model.Year }}&verythinsp;/&verythinsp;{{ .model.No }}</title>
|
||||
<title>KGPZ – Ausgabe {{ .model.No }} / {{ .model.Year }}</title>
|
||||
|
||||
@@ -1 +1 @@
|
||||
<title>KGPZ - Kontakt</title>
|
||||
<title>KGPZ – Kontakt</title>
|
||||
|
||||
@@ -1 +1 @@
|
||||
<title>KGPZ - Zitation</title>
|
||||
<title>KGPZ – Zitation</title>
|
||||
|
||||
Reference in New Issue
Block a user