forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
6ed17e9c56
commit
de7046273a
|
@ -28,9 +28,17 @@ featured = 'featured'
|
|||
# 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
|
||||
|
||||
#do you want a contact page?
|
||||
contact = true
|
||||
|
||||
#do you want a newsletter page?
|
||||
newsletter = true
|
||||
|
||||
#do you want a links page?
|
||||
links = true
|
||||
|
||||
#do you want an archive?
|
||||
archive = true
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: "Aktionstage, Camp & Demonstration “Rheinmetall entwaffnen” in Unterlüß"
|
||||
link: "https://rheinmetallentwaffnen.noblogs.org/"
|
||||
---
|
||||
Sind freunde, also kriegen die nen Link!
|
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
title: "Newsletter"
|
||||
---
|
||||
Wenn ihr in unseren Newsletter aufgenommen werden wollt, schickt uns eine email!
|
||||
|
||||
Wenn ihr den Newsletter nicht mehr erhalten wollt, schreibt uns ebenfalls eine mail.
|
||||
|
||||
**info@bunteshaus.de**
|
||||
|
||||
Um den Newsletter verschicken zu können müssen wir eure Email-Adresse speichern. Wir speichern die Adresse ausschließlich für den Versand des Newsletters. Wir geben die Adressen nicht an Dritte weiter. Mit der Anmeldung zu unserem Newsletter erklärst du dich mit der Speicherung einverstanden. Du kannst den Newsletter jeder Zeit abbestellen. Eine kurze formlose Mail an uns reicht aus. Wir löschen in diesem Fall deine Adresse unverzüglich.
|
|
@ -90,3 +90,6 @@ other = "Der Eintritt ist kostenlos."
|
|||
|
||||
[register]
|
||||
other = "Anmeldung"
|
||||
|
||||
[executive]
|
||||
other = "Vorstand"
|
||||
|
|
|
@ -1,221 +0,0 @@
|
|||
[home]
|
||||
other = "home"
|
||||
|
||||
[executive]
|
||||
other = "Executive Board"
|
||||
|
||||
[and]
|
||||
other = "and"
|
||||
|
||||
[events]
|
||||
other = "Events"
|
||||
|
||||
[event]
|
||||
other = "Event"
|
||||
|
||||
[archive]
|
||||
other = "Archive"
|
||||
|
||||
[imprint]
|
||||
other = "Imprint"
|
||||
|
||||
[no]
|
||||
other = "No"
|
||||
|
||||
[yes]
|
||||
other = "Yes"
|
||||
|
||||
[recurrent]
|
||||
other = "Recurrent"
|
||||
|
||||
[contact]
|
||||
other = "Contact"
|
||||
|
||||
[mail]
|
||||
other = "Email"
|
||||
|
||||
[tel]
|
||||
other = "Phone"
|
||||
|
||||
[news]
|
||||
other = "News"
|
||||
|
||||
[from]
|
||||
other = "from"
|
||||
|
||||
[at]
|
||||
other = "at"
|
||||
|
||||
[everyfemale]
|
||||
other = "every"
|
||||
|
||||
[everymale]
|
||||
other = "every"
|
||||
|
||||
[everysubject]
|
||||
other = "every"
|
||||
|
||||
[since]
|
||||
other = "since"
|
||||
|
||||
[days]
|
||||
other = "Days"
|
||||
|
||||
[calendar]
|
||||
other = "Calender"
|
||||
|
||||
[MO]
|
||||
other = "Monday"
|
||||
[TU]
|
||||
other = "Tuesday"
|
||||
[WE]
|
||||
other = "Wednesday"
|
||||
[TH]
|
||||
other = "Thursday"
|
||||
[FR]
|
||||
other = "Friday"
|
||||
[SA]
|
||||
other = "Saturday"
|
||||
[SU]
|
||||
other = "Sunday"
|
||||
|
||||
[date]
|
||||
other = "Date"
|
||||
|
||||
[time]
|
||||
other = "Time"
|
||||
|
||||
[categories]
|
||||
other = "Categories"
|
||||
|
||||
[tags]
|
||||
other = "Tags"
|
||||
|
||||
[repeat]
|
||||
other = "Repeat"
|
||||
|
||||
[end]
|
||||
other = "End"
|
||||
|
||||
[after]
|
||||
other = "after"
|
||||
|
||||
[never]
|
||||
other = "never"
|
||||
|
||||
[duration]
|
||||
other = "Duration"
|
||||
|
||||
[minutes]
|
||||
other = "Minutes"
|
||||
|
||||
[daily]
|
||||
other = "Daily"
|
||||
|
||||
[DAILY]
|
||||
other = "Day"
|
||||
|
||||
[weekly]
|
||||
other = "Weekly"
|
||||
|
||||
[WEEKLY]
|
||||
other = "Week"
|
||||
|
||||
[monthly]
|
||||
other = "Monthly"
|
||||
|
||||
[MONTHLY]
|
||||
other = "Month"
|
||||
|
||||
[yearly]
|
||||
other = "Yearly"
|
||||
|
||||
[YEARLY]
|
||||
other = "Year"
|
||||
|
||||
[title]
|
||||
other = "Title"
|
||||
|
||||
[description]
|
||||
other = "Description"
|
||||
|
||||
[location]
|
||||
other = "LOcation"
|
||||
|
||||
[subject]
|
||||
other = "Subject"
|
||||
|
||||
[new]
|
||||
other = "New"
|
||||
|
||||
[generate]
|
||||
other = "Generate"
|
||||
|
||||
[first]
|
||||
other = "First"
|
||||
|
||||
[second]
|
||||
other = "Second"
|
||||
|
||||
[third]
|
||||
other = "Third"
|
||||
|
||||
[fourth]
|
||||
other = "Fourth"
|
||||
|
||||
[last]
|
||||
other = "Last"
|
||||
|
||||
[Jan]
|
||||
other = "January"
|
||||
|
||||
[Feb]
|
||||
other = "February"
|
||||
|
||||
[Mar]
|
||||
other = "March"
|
||||
|
||||
[Apr]
|
||||
other = "April"
|
||||
|
||||
[May]
|
||||
other = "May"
|
||||
|
||||
[Jun]
|
||||
other = "Juni"
|
||||
|
||||
[Jul]
|
||||
other = "Juli"
|
||||
|
||||
[Aug]
|
||||
other = "August"
|
||||
|
||||
[Sep]
|
||||
other = "September"
|
||||
|
||||
[Oct]
|
||||
other = "October"
|
||||
|
||||
[Nov]
|
||||
other = "November"
|
||||
|
||||
[Dec]
|
||||
other = "December"
|
||||
|
||||
[price]
|
||||
other = "Price"
|
||||
|
||||
[nothing]
|
||||
other = "free"
|
||||
|
||||
[entry]
|
||||
other = "Entry"
|
||||
|
||||
[free]
|
||||
other = "Entry for free."
|
||||
|
||||
[upcoming]
|
||||
other = "Upcoming Events"
|
||||
|
||||
[readmore]
|
||||
other = "Read more"
|
|
@ -1,43 +0,0 @@
|
|||
[home]
|
||||
other = "Xane"
|
||||
|
||||
[events]
|
||||
other = "Bûyerên"
|
||||
|
||||
[recurrent]
|
||||
other = "Hevdîtinên birêkûpêk"
|
||||
|
||||
[from]
|
||||
other = "Ji"
|
||||
|
||||
[at]
|
||||
other = "Roja"
|
||||
|
||||
[every]
|
||||
other = "her"
|
||||
|
||||
[days]
|
||||
other = "Rojan"
|
||||
|
||||
[calendar]
|
||||
other = "salname"
|
||||
|
||||
[Mon]
|
||||
other = "Duşem"
|
||||
[Tue]
|
||||
other = "Sêşem"
|
||||
[Wed]
|
||||
other = "Çarşem"
|
||||
[Thu]
|
||||
other = "Pêncşem"
|
||||
[Fr]
|
||||
other = "Fridayemî"
|
||||
[Sat]
|
||||
other = "Şemî"
|
||||
[Sun]
|
||||
other = "Yekşem"
|
||||
|
||||
[categories]
|
||||
other = "Kategorî"
|
||||
[news]
|
||||
other = "Nûçe"
|
|
@ -21,8 +21,8 @@
|
|||
</div>
|
||||
{{ end }}
|
||||
<article>
|
||||
{{ partial "contentlayouts/contact" }}
|
||||
{{ i18n "executive" }}: {{ site.Params.imprintdata.executive }}
|
||||
{{ partial "structure/contact" }}
|
||||
{{ if i18n "executive" }}{{ i18n "executive" }}{{ else }}{{ "Executive" }}{{ end }}: {{ site.Params.imprintdata.executive }}
|
||||
{{ .Content }}
|
||||
</article>
|
||||
{{ end }}
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
{{- define "title" -}}
|
||||
{{ $name := .Name | lower }}
|
||||
{{ if ne ($name | i18n) "" }}
|
||||
{{ $name = $name | i18n }}
|
||||
{{ else }}
|
||||
{{ if and (ne .Section "events") (ne .Section "links") }}
|
||||
{{ $name = $name | singularize }}
|
||||
{{ end }}
|
||||
{{ $name = $name | humanize }}
|
||||
{{ end }}
|
||||
<h1>{{ $name }}</h1>
|
||||
{{- end -}}
|
||||
|
||||
{{- define "main" -}}
|
||||
{{ if ne .Content "" }}
|
||||
<article>
|
||||
{{ .Content }}
|
||||
</article>
|
||||
{{ end }}
|
||||
{{ range .Pages }}
|
||||
<article>
|
||||
<h3><a href="{{ .Params.link }}">{{ .Params.link }}</a></h3>
|
||||
{{ .Title }}<br>
|
||||
{{ .Content }}
|
||||
</article>
|
||||
{{ end }}
|
||||
{{- end -}}
|
||||
|
||||
{{ define "sidebar" }}
|
||||
{{- partial "contentlayouts/menu.html" . }}
|
||||
{{ end }}
|
|
@ -0,0 +1,24 @@
|
|||
{{- define "title" -}}
|
||||
{{ $name := .Name | lower }}
|
||||
{{ if ne ($name | i18n) "" }}
|
||||
{{ $name = $name | i18n }}
|
||||
{{ else }}
|
||||
{{ if ne .Section "events" }}
|
||||
{{ $name = $name | singularize }}
|
||||
{{ end }}
|
||||
{{ $name = $name | humanize }}
|
||||
{{ end }}
|
||||
<h1>{{ $name }}</h1>
|
||||
{{- end -}}
|
||||
|
||||
{{- define "main" -}}
|
||||
{{ if ne .Content "" }}
|
||||
<article>
|
||||
{{ .Content }}
|
||||
</article>
|
||||
{{ end }}
|
||||
{{- end -}}
|
||||
|
||||
{{ define "sidebar" }}
|
||||
{{- partial "contentlayouts/menu.html" . }}
|
||||
{{ end }}
|
|
@ -5,7 +5,8 @@
|
|||
{{ end }}
|
||||
|
||||
{{ define "main" }}
|
||||
{{ partial "debug" (dict "context" . "filename" "index.html") }}
|
||||
{{ partial "rrule" . }}
|
||||
|
||||
|
||||
{{ $s := .Site.Params }}
|
||||
{{- $posts := where (where .Site.RegularPages "Permalink" "!=" .Permalink) "Type" "in" $s.searchSections }}
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
{{ end }}
|
||||
{{- if or .context.Content .context.Summary -}}
|
||||
<div id="articletext" class="{{ $big }}">
|
||||
{{ if eq .type "contact" }}{{ partial "contentlayouts/contact" }}{{ end }}
|
||||
{{ if eq .type "contact" }}{{ partial "structure/contact" }}{{ end }}
|
||||
{{ if eq .type "list" }}{{- .context.Summary -}}{{ else }}{{- .context.Content -}}{{ end }}
|
||||
{{ if and .context.Truncated (eq .type "list") }}
|
||||
<div id="readmore">{{- i18n "readmore" -}}..</div>
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
{{ site.Title }}<br>
|
||||
{{ site.Params.imprintdata.street }}<br>
|
||||
{{ if i18n "pobox" }}{{ i18n "pobox" }}{{ else }}{{ "pobox" }}{{ end }} {{ site.Params.imprintdata.pobox }}<br>
|
||||
{{ site.Params.imprintdata.city }}<br>
|
||||
<br>
|
||||
{{ if i18n "phone" }}{{ i18n "phone" }}{{ else }}{{ "phone" }}{{ end }}: {{ site.Params.imprintdata.tel }}<br>
|
||||
<p>{{ if i18n "mail" }}{{ i18n "mail" }}{{ else }}{{ "mail" }}{{ end }}: {{ site.Params.imprintdata.mail | markdownify }}</p>
|
|
@ -1,5 +1,5 @@
|
|||
{{ if gt .Site.Taxonomies.categories 0 }}
|
||||
<li class="align_menu"><a href="{{ "/news" | relLangURL}}"><h3>{{ T "news" }}</h3></a></li>
|
||||
<li class="align_menu"><a href="{{ "/news" | relLangURL}}"><h3>{{ if i18n "news" }}{{ i18n "news" }}{{ else }}{{ "News" }}{{ end }}</h3></a></li>
|
||||
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.categories }}
|
||||
{{ $orig := $taxonomyname }}
|
||||
{{ if ne (i18n $taxonomyname) "" }}
|
||||
|
@ -11,7 +11,7 @@
|
|||
{{ end }}
|
||||
{{ end }}
|
||||
{{ if gt .Site.Taxonomies.events 0 }}
|
||||
<li class="align_menu"><a href="{{ "/events" | relLangURL}}"><h3>{{ T "events" }}</h3></a></li>
|
||||
<li class="align_menu"><a href="{{ "/events" | relLangURL}}"><h3>{{ if i18n "events" }}{{ i18n "events" }}{{ else }}{{ "Events" }}{{ end }}</h3></a></li>
|
||||
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.events }}
|
||||
{{ $orig := $taxonomyname }}
|
||||
{{ if ne (i18n $taxonomyname) "" }}
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
{{ $byday := "" }}
|
||||
{{ $bymonth := "" }}
|
||||
{{ partial "debug" (dict "context" . "filename" "index.html") }}
|
||||
{{ range $rrule := split "RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10" ";" }}
|
||||
{{ if in . "BYDAY" }}<br>
|
||||
{{ $byday = index (split . "=") 1 }}
|
||||
{{ end }}
|
||||
{{ if in . "BYMONTH" }}<br>
|
||||
{{ $bymonth = index (split . "=") 1 }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ $byday }}<br>
|
||||
{{ $bymonth }}<br>
|
|
@ -0,0 +1,6 @@
|
|||
{{ site.Title }}<br>
|
||||
{{ site.Params.imprintdata.street }}<br>
|
||||
{{ if i18n "pobox" }}{{ i18n "pobox" }}{{ else }}{{ "Po.Box" }}{{ end }} {{ site.Params.imprintdata.pobox }}<br>
|
||||
{{ site.Params.imprintdata.city }}<br>
|
||||
{{ if site.Params.imprintdata.tel }}<p>{{ if i18n "phone" }}{{ i18n "phone" }}{{ else }}{{ "phone" }}{{ end }}: {{ site.Params.imprintdata.tel }}</p>{{ end }}
|
||||
{{ if site.Params.imprintdata.mail }}<p>{{ if i18n "mail" }}{{ i18n "mail" }}{{ else }}{{ "mail" }}{{ end }}: {{ site.Params.imprintdata.mail | markdownify }}{{ end }}</p>
|
|
@ -5,7 +5,7 @@
|
|||
{{ $contact = i18n "contact" }}
|
||||
{{ end }}
|
||||
<a href="{{- "contact" | absLangURL -}}">{{- $contact | strings.FirstUpper -}}:</a><br><br>
|
||||
{{- partial "contentlayouts/contact" -}}
|
||||
{{- partial "structure/contact" -}}
|
||||
</div>
|
||||
{{- end -}}
|
||||
|
||||
|
@ -17,6 +17,13 @@
|
|||
{{ end }}
|
||||
<a href="{{- "archive" | absLangURL -}}">{{- $archive | strings.FirstUpper -}}</a><br><br>
|
||||
{{- end -}}
|
||||
{{- if eq site.Params.newsletter true -}}
|
||||
{{ $newsletter := "Newsletter" }}
|
||||
{{ if i18n $newsletter }}
|
||||
{{ $newsletter = i18n "newsletter" }}
|
||||
{{ end }}
|
||||
<a href="{{- "newsletter" | absLangURL -}}">{{- $newsletter | strings.FirstUpper -}}</a><br><br>
|
||||
{{- end -}}
|
||||
<a href="{{- "misc" | absLangURL -}}">Misc</a><br><br>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue