small fixes

This commit is contained in:
teldra 2022-04-11 16:06:41 +02:00
parent 95941b6b98
commit ea4ce52ef6
9 changed files with 89 additions and 90 deletions

View File

@ -1,89 +0,0 @@
baseURL = "https://bunteshaus.de/"
languageCode = "de-DE"
defaultContentLanguage = "de"
title = "Bunteshaus e.V."
theme = "buha"
enableGitInfo = true
paginate = 5
description = "Buntes Haus e.V. - Soziokulturelles Zentrum in Celle - probably the friendliest place on earth"
copyright = "bunteshaus.de"
[taxonomies]
categories = 'categories'
tags = 'tags'
events = 'events'
about = 'about'
featured = 'featured'
foundations = 'foundations'
[frontmatter]
date = ['date', 'publishDate', 'lastmod']
expiryDate = ['expiryDate']
lastmod = ['lastmod', ':git', 'date', 'publishDate']
publishDate = ['publishDate', 'date']
[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
#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
# do you want an imprint?
imprint = true
# what is seen in the header?
mainMenu = ['about']
# in which section search for posts?
searchSections = ['news']
# how long stays a featrued article on frontpage as featured (in weeks)
featured_expire = "1"
placeholder = "/images/no_article_pic.png"
# data for your imprint and contact page
[params.imprintdata]
tel = "(+) 49 5141 907 927"
mail = 'info@bunteshaus.de'
street = "Hannoversche Straße 30 f"
pobox = "3166"
city = "29221 Celle"
country = "Niedersachsen / Deutschland"
executive = "Ingileif Bech"
nonprofit = true
[params.foundations]
brentrup = "https://heise.de"
[outputs]
home = ["HTML", "RSS"]
section = ["HTML", "RSS"]
page = ["HTML"]
taxonomy = ["HTML", "RSS"]
term = ["HTML", "RSS"]
[languages]
[languages.de]
languageName = "Deutsch"
weight = 10
[languages.ku]
languageName = "Kurdî"
weight = 0
[languages.en]
languageName = "English"
weight = 5

View File

@ -0,0 +1,10 @@
baseURL = "https://bunteshaus.de/"
languageCode = "de-DE"
defaultContentLanguage = "de"
title = "Bunteshaus e.V."
theme = "buha"
enableGitInfo = true
paginate = 5
description = "Buntes Haus e.V. - Soziokulturelles Zentrum in Celle - probably the friendliest place on earth"
copyright = "bunteshaus.de"

View File

@ -0,0 +1,4 @@
date = ['date', 'publishDate', 'lastmod']
expiryDate = ['expiryDate']
lastmod = ['lastmod', ':git', 'date', 'publishDate']
publishDate = ['publishDate', 'date']

View File

@ -0,0 +1,11 @@
[de]
languageName = "Deutsch"
weight = 10
[ku]
languageName = "Kurdî"
weight = 0
[en]
languageName = "English"
weight = 5

View File

@ -0,0 +1,5 @@
home = ["HTML", "RSS"]
section = ["HTML", "RSS"]
page = ["HTML"]
taxonomy = ["HTML", "RSS"]
term = ["HTML", "RSS"]

View File

@ -0,0 +1,45 @@
# 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
#do you want an media folder?
media = true
# do you want an imprint?
imprint = true
# what is seen in the header?
mainMenu = ['about']
# in which section search for posts?
searchSections = ['news']
# how long stays a featrued article on frontpage as featured (in weeks)
featured_expire = "1"
placeholder = "/images/no_article_pic.png"
# data for your imprint and contact page
[imprintdata]
tel = "(+) 49 5141 907 927"
mail = 'info@bunteshaus.de'
street = "Hannoversche Straße 30 f"
pobox = "3166"
city = "29221 Celle"
country = "Niedersachsen / Deutschland"
executive = "Ingileif Bech"
nonprofit = true
[foundations]
brentrup = "https://heise.de"

View File

@ -0,0 +1,6 @@
categories = 'categories'
tags = 'tags'
events = 'events'
about = 'about'
featured = 'featured'
foundations = 'foundations'

View File

@ -13,7 +13,7 @@
{{ end }}
{{ partial "snippets/article_metadata" $metas }}
<div id="articleinner"{{- if eq .type "article" }} class="min_height"{{- end -}}>
<div id="articleinner">
{{- if and (.context.Resources.ByType "image") (eq .pic "true") -}}
{{ $resize := "500x" }}
{{- $img := index (.context.Resources.ByType "image") 0 -}}

View File

@ -42,6 +42,13 @@
{{ $links = i18n "links" }}
{{ end }}
<a href="{{- "links" | absLangURL -}}">{{- $links | strings.FirstUpper -}}</a><br><br>
{{- end -}}
{{- if eq site.Params.media true -}}
{{ $links := "Media" }}
{{ if i18n "media" }}
{{ $links = i18n "media" }}
{{ end }}
<a href="{{- "media" | absLangURL -}}">{{- $links | strings.FirstUpper -}}</a><br><br>
{{- end -}}
{{- if not (or (eq .Section "featured") (eq .Section "about")) -}}
{{- with .OutputFormats.Get "rss" -}}