forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
b54b777d5e
commit
b3d3d85ac9
|
@ -14,7 +14,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
main h1 {
|
main h1 {
|
||||||
margin-top: 1rem;
|
margin-top: 0rem;
|
||||||
margin-bottom: 0rem;
|
margin-bottom: 0rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -150,6 +150,7 @@ article h2 {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
min-width: 15%;
|
min-width: 15%;
|
||||||
|
min-height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
|
|
|
@ -6,6 +6,9 @@
|
||||||
<header>
|
<header>
|
||||||
{{ partialCached "header" . }}
|
{{ partialCached "header" . }}
|
||||||
</header>
|
</header>
|
||||||
|
<div style="display: flex; justify-content: flex-end; flex-direction: row; height: 1rem;">
|
||||||
|
{{ block "nav2" . -}}{{- end }}
|
||||||
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<main>
|
<main>
|
||||||
<h1>
|
<h1>
|
||||||
|
|
|
@ -163,6 +163,20 @@
|
||||||
</div>
|
</div>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
{{ define "nav2" }}
|
||||||
|
{{ $true := false }}
|
||||||
|
{{ range $taxonomyname, $taxonomy := where .Site.Taxonomies.categories ".Page.Section" .Section }}
|
||||||
|
{{ if ne $taxonomyname nil }}
|
||||||
|
{{ $true = true }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ if $true }}
|
||||||
|
{{ range $taxonomyname, $taxonomy := where .Site.Taxonomies.categories ".Page.Section" .Section }}
|
||||||
|
<a href="{{ "categories/" | relLangURL}}{{ $taxonomyname | urlize }}" style="margin-right: 1rem">{{ $taxonomyname | humanize }}</a>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ define "sidebar" }}
|
{{ define "sidebar" }}
|
||||||
{{- partial "sidebar" . }}
|
{{- partial "sidebar" . }}
|
||||||
{{ end }}
|
{{ end }}
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ if .IsSection }}
|
<!-- {{ if .IsSection }}
|
||||||
{{ $true := false }}
|
{{ $true := false }}
|
||||||
{{ range $taxonomyname, $taxonomy := where .Site.Taxonomies.categories ".Page.Section" .Section }}
|
{{ range $taxonomyname, $taxonomy := where .Site.Taxonomies.categories ".Page.Section" .Section }}
|
||||||
{{ if ne $taxonomyname nil }}
|
{{ if ne $taxonomyname nil }}
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
<li style="list-style: none;"><a href="{{ "categories/" | relLangURL}}{{ $taxonomyname | urlize }}">{{ $taxonomyname | humanize }}</a></li>
|
<li style="list-style: none;"><a href="{{ "categories/" | relLangURL}}{{ $taxonomyname | urlize }}">{{ $taxonomyname | humanize }}</a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }} -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue