small fixes

This commit is contained in:
teldra 2022-06-17 18:06:54 +02:00
parent 27dd8cf845
commit e443d3d033
5 changed files with 11 additions and 4 deletions

View File

@ -37,6 +37,9 @@ mainMenu = ['about','news','events']
# in which section search for posts?
searchSections = ['news']
# category, which stands for your own things
ownCategory = "Buha"
# how long stays a featrued article on frontpage as featured (in weeks)
featured_expire = "8"

View File

@ -2,4 +2,3 @@
title: "Gruppe LiST: Land in Sicht - Transition Celle"
link: "https://list-celle.over-blog.com/"
---
Befreundete Gruppe

View File

@ -87,3 +87,6 @@ other = "Zuletzt geändert"
[search]
other = "Suche"
[own_category]
other = "In eigener Sache"

View File

@ -6,9 +6,11 @@
{{ end }}
{{ $act_section := .context.Section }}
{{ $paginator := .pages }}
{{ $return_paginator := "" }}
{{ if .paginate }}
{{ $paginator = .context.Paginate $pages }}
{{ $pages = $paginator.Pages }}
{{ $return_paginator := $paginator }}
{{ end }}
{{ $bptiny := "40em" }}
@ -68,8 +70,8 @@
{{ "Recurrent"}}:
{{ end }}
{{ else if .Params.categories }}
{{ if in .Params.categories "Buha" }}
In eigener Sache:
{{ if in .Params.categories .Site.Params.ownCategory }}
{{ if i18n "own_category" }}{{ i18n "own_category" }}{{ else }}From us{{ end -}}:
{{ end }}
{{ end }}
{{ end }}

View File

@ -82,7 +82,7 @@
</style>
<div class="ttestt banner {{ $css }}">
<div class="ttestt banner {{ $css }}" style="background-image: url({{- $img.Permalink -}});">
{{ if eq hugo.Environment "development" }}
<div class="dev right">
{{ $w := $img.Width }}