forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
2758a384fb
commit
d40e5f679c
|
@ -7,6 +7,9 @@ contact = true
|
|||
#do you want an archive?
|
||||
archive = true
|
||||
|
||||
#do you want an searchpage??
|
||||
search = true
|
||||
|
||||
#do you want a newsletter page?
|
||||
newsletter = true
|
||||
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
{{- if or (eq site.Params.archive true) (eq site.Params.newsletter true) (eq site.Params.links true) (eq site.Params.imprint true) }}
|
||||
{{- if or (eq site.Params.archive true) (eq site.Params.newsletter true) (eq site.Params.links true) (eq site.Params.imprint true) (eq site.Params.search true) }}
|
||||
<div class="infobox a">
|
||||
{{- if eq site.Params.search true -}}
|
||||
{{ $search := "Search" }}
|
||||
{{ if i18n "search" }}
|
||||
{{ $search = i18n "search" }}
|
||||
{{ end }}
|
||||
<a href="{{- "search" | absLangURL -}}">{{- $search | strings.FirstUpper -}}</a>
|
||||
{{- end -}}
|
||||
{{- if eq site.Params.archive true -}}
|
||||
{{ $archive := "Archive" }}
|
||||
{{ if i18n "archive" }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user