small fixes

This commit is contained in:
teldra 2022-04-10 13:56:50 +02:00
parent dd71cec894
commit 252ba91f25
10 changed files with 41 additions and 16 deletions

View File

@ -14,8 +14,7 @@ tags = 'tags'
events = 'events'
about = 'about'
featured = 'featured'
foundations = 'foundations'
[frontmatter]
date = ['date', 'publishDate', 'lastmod']
@ -27,7 +26,7 @@ featured = 'featured'
[params]
# keywords for seo
keywords = "buntes haus celle, buntes haus, bunteshaus, celle, buntes haus e.V., www.bunteshaus.de, celle, punk, reggae, ska, konzerte, partys, soziokultur, soziokulturelles zentrum celle, elektro, electroe, jugendzentrum, celle, dum n bass, konzert, musik, politik, kultur, alternativ, cd kaserne celle, cd kaserne, plenum, celle, antifa, antira, anti akw, anti atom celle, veranstaltungen, infoladen, proberaum celle, archiv für neue soziale bewegungen in celle, hartz 4 IV beratung celle, skaten, graffiti, sprayen, kunst, fahrradwerkstatt, deka dance celle, dekadance, Revista, probably the friendliest Place on Earth"
debug = false
debug = true
#do you want a contact page?
contact = true

View File

@ -4,6 +4,7 @@ date: "2022-04-04T23:16:00+02:00"
when: "Montag, 04.04.2022, 23.23 Uhr"
events: ["Konzert"]
price: "free"
foundations: ["brentrup","aktionmensch"]
---
Endlich wieder nach langer Covidauszeit sind die Kitten von Katzengejammer wieder am Start. Sie werden euch einen unvergesslichen Abend voller Katzengejammer bieten. Katzengejammer sind seit Jahren der Renner um alle Mäuse aus der Küche zu vertreiben und zum dancen im Gemüsebeet zu bewegen.

View File

@ -0,0 +1,7 @@
[Dolphin]
HeaderColumnWidths=733,143,94,163
PreviewsShown=false
Timestamp=2022,4,10,11,52,29.68
Version=4
ViewMode=1
VisibleRoles=Details_text,Details_size,Details_modificationtime,Details_type,Details_permissions,CustomizedDetails

View File

Before

Width:  |  Height:  |  Size: 286 KiB

After

Width:  |  Height:  |  Size: 286 KiB

View File

@ -73,7 +73,7 @@ forms:
---
Hier kannst du einen neuen Artikel generieren.
[Hilfe zur Formatierung](https://schlomp.space/Bunteshaus/bunteshaus.de/src/branch/main/docs/artikel_formatierung.md)
[Hilfe zur Formatierung des Inhaltes eines Artikels](https://schlomp.space/Bunteshaus/bunteshaus.de/src/branch/main/docs/artikel_formatierung.md)
**Einträge mit * sind minimal erforderlich.**

View File

@ -158,10 +158,12 @@ article {
margin-left: 1rem;
margin-top: 2rem;
display: flex;
align-items: flex-end;
flex-direction: column;
align-items: stretch;
font-size: x-small;
border-top: 1px solid var(--background);
color: var(--text-muted);
flex-grow: 1;
}
.articlebgcol1 {

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

View File

@ -30,7 +30,7 @@
{{ if eq .Kind "term" }}
{{- $pages = .Data.Pages -}}
{{ $part = "article_list" }}
{{ else if eq .Kind "taxonomy" }}
{{ else if or (eq .Kind "taxonomy") }}
{{- $pages = .Data.Terms.Alphabetical -}}
{{ $part = "tags_n_categories" }}
{{ end }}

View File

@ -49,16 +49,32 @@
{{ define "pagefooter" }}
{{ if and (eq .Kind "page") (or (eq .Section "news") (eq .Section "events") (eq .Section "about")) }}
<div id="article_footer">
<div style="flex-grow: 1; flex-direction: column;">
<b>{{ if i18n "created" }}{{ i18n "created" }}{{ else }}{{ "Created" }}{{ end }}</b><br>
{{ .Date | time.Format ":date_full" }}
</div>
{{ if ne .Date .Lastmod }}
<div style="flex-grow: 1; flex-direction: column;">
<b>{{ if i18n "lastmod" }}{{ i18n "lastmod" }}{{ else }}{{ "Last modification" }}{{ end }}</b><br>
{{ .Lastmod | time.Format ":date_full" }}
</div>
{{ end }}
{{ with .Params.foundations }}
<b>Träger der Veranstaltung:</b>
<div style="display: flex; flex-direction: row; height: 2rem; margin-bottom: 1rem; margin-top: .4rem;">
{{ range . }}
{{ $l := . }}
{{- $res_im := resources.GetMatch (printf "/foundations/%s*" $l ) -}}
{{ if $res_im }}
<div style="display: flex; flex-grow: 0;">
<img src="{{- $res_im.Permalink -}}" class="borderrad4px" />
</div>
{{ end }}
{{ end }}
</div>
{{ end }}
<div style="display: flex; flex-direction: row; justify-content: space-between; flex-grow: 1; align-items: stretch;">
<div style="display: flex; flex-grow: 1; flex-direction: column;">
<b>{{ if i18n "created" }}{{ i18n "created" }}{{ else }}{{ "Created" }}{{ end }}</b><br>
{{ .Date | time.Format ":date_full" }}
</div>
{{ if ne .Date .Lastmod }}
<div style="display: flex; flex-grow: 1; flex-direction: column;">
<b>{{ if i18n "lastmod" }}{{ i18n "lastmod" }}{{ else }}{{ "Last modification" }}{{ end }}</b><br>
{{ .Lastmod | time.Format ":date_full" }}
</div>
{{ end }}
</div>
</div>
{{ end }}
{{ end }}