forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
ed197255c7
commit
783f40f87f
|
@ -31,7 +31,7 @@ aside {
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
margin-top: -1.2em;
|
margin-top: 0rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.right-sidebar {
|
.right-sidebar {
|
||||||
|
|
|
@ -5,14 +5,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<header>
|
<header>
|
||||||
{{ partialCached "header" . }}
|
{{ partialCached "header" . }}
|
||||||
<div>
|
{{ partial "submenu" . }}
|
||||||
<details>
|
|
||||||
<summary style="list-style: none; text-align: right;">☰</summary>
|
|
||||||
<p>
|
|
||||||
{{ partial "sidebar.html" . }}
|
|
||||||
</p>
|
|
||||||
</details>
|
|
||||||
</div>
|
|
||||||
</header>
|
</header>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<main>
|
<main>
|
||||||
|
|
|
@ -1,13 +1,6 @@
|
||||||
{{ $s := .Site.Params }}
|
{{ $s := .Site.Params }}
|
||||||
<section class="sidebar_inner">
|
<section class="sidebar_inner">
|
||||||
{{ if .IsSection }}
|
|
||||||
{{ $true := false }}
|
|
||||||
{{ range $taxonomyname, $taxonomy := where .Site.Taxonomies.categories ".Page.Section" .Section }}
|
|
||||||
{{ if ne $taxonomyname nil }}
|
|
||||||
{{ $true = true }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
{{ if $true }}
|
|
||||||
<!-- <h3 class="mt-4 taxonomy" id="categories-section">{{ T "categories" }}</h3> -->
|
<!-- <h3 class="mt-4 taxonomy" id="categories-section">{{ T "categories" }}</h3> -->
|
||||||
{{- $featured := where .Site.RegularPages "Params.featured" true }}
|
{{- $featured := where .Site.RegularPages "Params.featured" true }}
|
||||||
{{ if $featured }}
|
{{ if $featured }}
|
||||||
|
@ -17,10 +10,8 @@
|
||||||
{{ if $recurrent }}
|
{{ if $recurrent }}
|
||||||
<li style="list-style: none;"><a href="{{ "/" | relLangURL}}{{ "recurrent" | urlize }}">{{ "recurrent" | T | humanize }}</a></li>
|
<li style="list-style: none;"><a href="{{ "/" | relLangURL}}{{ "recurrent" | urlize }}">{{ "recurrent" | T | humanize }}</a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ range $taxonomyname, $taxonomy := where .Site.Taxonomies.categories ".Page.Section" .Section }}
|
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.categories }}
|
||||||
<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 }}
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
{{ if or (eq .Section "events") }}
|
||||||
|
<div>
|
||||||
|
<details>
|
||||||
|
<summary style="list-style: none; text-align: right;">☰</summary>
|
||||||
|
<p>
|
||||||
|
{{ partial "sidebar.html" . }}
|
||||||
|
</p>
|
||||||
|
</details>
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
Loading…
Reference in New Issue