forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
d427367f36
commit
5f345ab2a0
|
@ -15,6 +15,15 @@ events = 'events'
|
|||
about = 'about'
|
||||
featured = 'featured'
|
||||
|
||||
|
||||
|
||||
[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"
|
||||
|
|
|
@ -7,7 +7,10 @@ todo buha.de
|
|||
- rss fixen, so dass alle sectionen und taxonomies verarbeitet werden
|
||||
- diskutieren, ob jede aenderung via rss raus soll (lastmod vs einmalig)
|
||||
- translations: english default
|
||||
- generator form: aus mc ein checkbox machen und kategorien und/oder eventkatehorien soloauswaehlbar machen.
|
||||
- generator form: aus mc ein checkbox machen und kategorien und/oder eventkategorien soloauswaehlbar machen.
|
||||
- sollte kein bild gefunden werden, wird ein standard bild verwendet. (diskutabel, hat vor und nachteile. man kann aber auch ein pool bereitstellen, je nach kategorie? im generator auswaehlen?)
|
||||
- diskutieren, in welcher reihenfolgeartikel angezeigt werden sollen.
|
||||
- diskutieren, in welcher reihenfolge artikel angezeigt werden sollen.
|
||||
- checke lastmod reihenfolge :git:frontmatter:etc
|
||||
|
||||
|
||||
- dokumentiere, das alte artikel "lastmod" im frontmatter haben sollten, wann sie erstellt wurden.
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
</article>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{- range first 5 $paginator.Pages -}}
|
||||
{{- range first 5 $paginator.Pages.ByLastmod.Reverse -}}
|
||||
{{ partial "contentlayouts/list.html" . }}
|
||||
{{- end }}
|
||||
{{ partial "structure/paginator" (dict "paginator" $paginator) }}
|
||||
|
@ -38,4 +38,4 @@
|
|||
|
||||
{{ define "sidebar" }}
|
||||
{{- partial "contentlayouts/menu.html" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
</article>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{- range first 5 $paginator.Pages -}}
|
||||
{{- range first 5 $paginator.Pages.ByLastmod.Reverse -}}
|
||||
{{ partial "contentlayouts/list.html" . }}
|
||||
{{- end }}
|
||||
{{ partial "structure/paginator" (dict "paginator" $paginator) }}
|
||||
|
@ -38,4 +38,4 @@
|
|||
|
||||
{{ define "sidebar" }}
|
||||
{{- partial "contentlayouts/menu.html" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{- range first 5 $paginator.Pages -}}
|
||||
{{- range first 5 $paginator.Pages.ByLastmod.Reverse -}}
|
||||
{{ $article_age := sub now.Unix (int .Date.Unix) }}
|
||||
{{ if or (ne .Params.featured true) (ge $article_age "1209600") }}
|
||||
{{ partial "contentlayouts/list.html" . }}
|
||||
|
|
Loading…
Reference in New Issue