mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-29 09:05:30 +00:00
logo fix
This commit is contained in:
BIN
views/assets/favicon.png
Normal file
BIN
views/assets/favicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
File diff suppressed because one or more lines are too long
BIN
views/public/logo/dev_favicon.png
Normal file
BIN
views/public/logo/dev_favicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 39 KiB |
BIN
views/public/logo/favicon.png
Normal file
BIN
views/public/logo/favicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
@@ -5,48 +5,4 @@
|
|||||||
{{ $model.Year }}
|
{{ $model.Year }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
{{ $page := 0 }}
|
{{ template "_inhaltsverzeichnis" . }}
|
||||||
{{ range $piece := .model.Pieces.IssuePieces }}
|
|
||||||
<div>
|
|
||||||
{{ if (ne $page $piece.Von) }}
|
|
||||||
{{ $page = $piece.Von }}
|
|
||||||
<div>S. {{ $page }}</div>
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
Eintrag!
|
|
||||||
{{ if gt (len $piece.IssueRefs) 1 }}
|
|
||||||
{{ len $piece.IssueRefs }} Teile
|
|
||||||
<ol>
|
|
||||||
{{ range $issue := $piece.IssueRefs }}
|
|
||||||
<li>
|
|
||||||
<a
|
|
||||||
href="/{{- $issue.Datum -}}/{{- $issue.Nr -}}"
|
|
||||||
{{ if and (eq $issue.Nr $model.No) (eq $issue.Datum $model.Year) }}
|
|
||||||
aria-current="page"
|
|
||||||
{{ end }}>
|
|
||||||
{{- $issue.Datum }} Nr.
|
|
||||||
{{ $issue.Nr -}}
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
{{ end }}
|
|
||||||
</ol>
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
{{ range $agentref := $piece.AgentRefs }}
|
|
||||||
{{ $agent := GetAgent $agentref.Ref }}
|
|
||||||
{{ if gt (len $agent.Names) 0 }}
|
|
||||||
{{ index $agent.Names 0 }}
|
|
||||||
{{ end }}
|
|
||||||
{{ if (or (eq $agentref.Category "") (eq $agentref.Category "autor")) }}
|
|
||||||
<span>Author</span>
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
{{ range $annotation := $piece.AnnotationNote.Annotations }}
|
|
||||||
<div>
|
|
||||||
{{ $annotation.Inner.InnerXML }}
|
|
||||||
</div>
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
</div>
|
|
||||||
{{ end }}
|
|
||||||
|
|||||||
38
views/routes/issue/components/_inhaltsverzeichnis.gohtml
Normal file
38
views/routes/issue/components/_inhaltsverzeichnis.gohtml
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
{{ $page := 0 }}
|
||||||
|
{{ $model := .model }}
|
||||||
|
|
||||||
|
|
||||||
|
<div>Inhalt</div>
|
||||||
|
{{ range $piece := .model.Pieces.IssuePieces }}
|
||||||
|
<div>
|
||||||
|
{{ if (ne $page $piece.Von) }}
|
||||||
|
{{ $page = $piece.Von }}
|
||||||
|
<div>Seite {{ $page }}</div>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ template "_inhaltsverzeichnis_eintrag" $piece }}
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Links zu anderen Teilen: -->
|
||||||
|
{{ if gt (len $piece.IssueRefs) 1 }}
|
||||||
|
<div>
|
||||||
|
{{ len $piece.IssueRefs }} Teile
|
||||||
|
<ol>
|
||||||
|
{{ range $issue := $piece.IssueRefs }}
|
||||||
|
<li>
|
||||||
|
<a
|
||||||
|
href="/{{- $issue.Datum -}}/{{- $issue.Nr -}}"
|
||||||
|
{{ if and (eq $issue.Nr $model.No) (eq $issue.Datum $model.Year) }}
|
||||||
|
aria-current="page"
|
||||||
|
{{ end }}>
|
||||||
|
{{- $issue.Datum }} Nr.
|
||||||
|
{{ $issue.Nr -}}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{{ end }}
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
{{ $piece := . }}
|
||||||
|
Eintrag!
|
||||||
|
|
||||||
|
<!-- Autor(en) -->
|
||||||
|
{{ $authorset := false }}
|
||||||
|
{{ range $agentref := $piece.AgentRefs }}
|
||||||
|
{{ if (or (eq $agentref.Category "") (eq $agentref.Category "autor")) }}
|
||||||
|
{{ $agent := GetAgent $agentref.Ref }}
|
||||||
|
<!-- NOT IMPLEMENTED: Multiple agent names -->
|
||||||
|
{{- if gt (len $agent.Names) 0 -}}
|
||||||
|
<div class="inline-block">{{- index $agent.Names 0 -}}</div>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ range $annotation := $piece.AnnotationNote.Annotations }}
|
||||||
|
<div>
|
||||||
|
{{ $annotation.Inner.InnerXML }}
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
@@ -1,17 +1,18 @@
|
|||||||
/** @type {import('tailwindcss').Config} */
|
/** @type {import('tailwindcss').Config} */
|
||||||
export default {
|
export default {
|
||||||
content: [
|
content: [
|
||||||
"./routes/**/*.{html,js,svelte,ts,tmpl,gotmpl,gohtml}",
|
"./routes/**/*.{html,js,svelte,ts,tmpl,gotmpl,gohtml}",
|
||||||
"./transform/**/*.{html,js,svelte,ts,tmpl,gotmpl,gohtml}",
|
"./layouts/**/*.{html,js,svelte,ts,tmpl,gotmpl,gohtml}",
|
||||||
],
|
"./transform/**/*.{html,js,svelte,ts,tmpl,gotmpl,gohtml}",
|
||||||
theme: {
|
],
|
||||||
extend: {
|
theme: {
|
||||||
fontFamily: {
|
extend: {
|
||||||
script: ["Rancho", "ui-serif"],
|
fontFamily: {
|
||||||
sans: ['"Source Sans 3"', '"Merriweather Sans"', "ui-sans-serif"],
|
script: ["Rancho", "ui-serif"],
|
||||||
serif: ['"Merriweather"', "ui-serif"],
|
sans: ['"Source Sans 3"', '"Merriweather Sans"', "ui-sans-serif"],
|
||||||
},
|
serif: ['"Merriweather"', "ui-serif"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
plugins: [],
|
},
|
||||||
|
plugins: [],
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user