forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
18ed6b38e4
commit
11ee4d6bcf
|
@ -1,5 +1,5 @@
|
|||
{{ if gt .Site.Taxonomies.categories 0 }}
|
||||
<a href="{{ "/news" | relLangURL}}"><h3 class="align_menu">{{ if i18n "news" }}{{ i18n "news" }}{{ else }}{{ "News" }}{{ end }}</h3></a>
|
||||
<h3 class="align_menu"><a href="{{ "/news" | relLangURL}}">{{ if i18n "news" }}{{ i18n "news" }}{{ else }}{{ "News" }}{{ end }}</a></h3>
|
||||
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.categories }}
|
||||
{{ $orig := $taxonomyname }}
|
||||
{{ if ne (i18n $taxonomyname) "" }}
|
||||
|
@ -7,11 +7,11 @@
|
|||
{{ else }}
|
||||
{{ $taxonomyname = $taxonomyname | humanize }}
|
||||
{{ end }}
|
||||
<li class="align_menu"><a href="{{ "categories/" | relLangURL}}{{ $orig | urlize }}">{{ $taxonomyname }}</a></li>
|
||||
<div class="align_menu"><a href="{{ "categories/" | relLangURL}}{{ $orig | urlize }}">{{ $taxonomyname }}</a></li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ if gt .Site.Taxonomies.events 0 }}
|
||||
<a href="{{ "/events" | relLangURL}}"><h3 class="align_menu">{{ if i18n "events" }}{{ i18n "events" }}{{ else }}{{ "Events" }}{{ end }}</h3></a>
|
||||
<h3 class="align_menu"><a href="{{ "/events" | relLangURL}}">{{ if i18n "events" }}{{ i18n "events" }}{{ else }}{{ "Events" }}{{ end }}</a></h3>
|
||||
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.events }}
|
||||
{{ $orig := $taxonomyname }}
|
||||
{{ if ne (i18n $taxonomyname) "" }}
|
||||
|
@ -19,7 +19,7 @@
|
|||
{{ else }}
|
||||
{{ $taxonomyname = $taxonomyname | humanize }}
|
||||
{{ end }}
|
||||
<li class="align_menu"><a href="{{ "events/" | relLangURL}}{{ $orig | urlize }}">{{ $taxonomyname }}</a></li>
|
||||
<div class="align_menu"><a href="{{ "events/" | relLangURL}}{{ $orig | urlize }}">{{ $taxonomyname }}</a></li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ if .IsHome }}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<div id="headerinner">
|
||||
<a href="/">
|
||||
<img src="/images/logo.svg" alt="SVG mit img laden" width="auto" height="100%" >
|
||||
<img src="/images/logo.svg" alt="SVG mit img laden" height="100%" >
|
||||
</a>
|
||||
<div id="menu">
|
||||
{{- range site.Params.mainMenu -}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user