forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
c490b4ad67
commit
6bbb14a342
|
@ -83,15 +83,13 @@ footer {
|
|||
margin-top: 1rem;
|
||||
margin-left: 1rem;
|
||||
margin-right: 1rem;
|
||||
flex-direction: column-reverse;
|
||||
}
|
||||
|
||||
#infobox_outer {
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
flex-grow: 1;
|
||||
.footer_color {
|
||||
color: var(--links);
|
||||
}
|
||||
|
||||
|
||||
footer div {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
@ -216,7 +214,8 @@ article h3 {
|
|||
|
||||
footer {
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
padding-right: 10px;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
#articledata {
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
</div>
|
||||
{{- end -}}
|
||||
|
||||
<div id="infobox_outer">
|
||||
<div class="infobox">
|
||||
<a href="{{- "orga" | absLangURL -}}">Orga</a><br><br>
|
||||
{{- if eq site.Params.archive true -}}
|
||||
|
@ -24,12 +23,5 @@
|
|||
RSS</a><br><br>
|
||||
{{- end -}}
|
||||
<a href="https://schlomp.space/Bunteshaus/bunteshaus.de">Sourcecode</a>
|
||||
<div style="display: flex; flex-direction: row;">
|
||||
{{ range $.Site.Home.AllTranslations }}
|
||||
{{ if ne .Lang $.Lang }}
|
||||
<a href="{{- .Permalink -}}" style="margin-right: 1rem;">{{- .Lang -}}</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1,15 +1,8 @@
|
|||
{{ $s := .Site.Params }}
|
||||
<section class="sidebar_inner">
|
||||
|
||||
<a href="/events"><h3 class="mt-4 taxonomy" id="categories-section">{{ T "events" }}</h3></a>
|
||||
<!-- {{- $featured := where .Site.RegularPages "Params.featured" true }}
|
||||
{{ if $featured }}
|
||||
<li style="list-style: none;"><a href="{{ "/" | relLangURL}}{{ "featured" | urlize }}">{{ "featured" | T | humanize }}</a></li>
|
||||
{{ end }} -->
|
||||
<!-- {{- $recurrent := where .Site.RegularPages "Params.recurrent" true }}
|
||||
{{ if $recurrent }}
|
||||
<li style="list-style: none;"><a href="{{ "/" | relLangURL}}{{ "recurrent" | urlize }}">{{ "recurrent" | T | humanize }}</a></li>
|
||||
{{ end }} -->
|
||||
<h3>{{ T "events" }}</h3>
|
||||
<a href="{{ "/events" | relLangURL}}">{{ "all" | T }}</a>
|
||||
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies.categories }}
|
||||
{{ $orig := $taxonomyname }}
|
||||
{{ if ne (i18n $taxonomyname) "" }}
|
||||
|
@ -19,5 +12,13 @@
|
|||
{{ end }}
|
||||
<li style="list-style: none;"><a href="{{ "categories/" | relLangURL}}{{ $orig | urlize }}">{{ $taxonomyname }}</a></li>
|
||||
{{ end }}
|
||||
{{ if .IsHome }}
|
||||
<h4>{{ "Languages" }}</h3>
|
||||
{{ range .Translations }}
|
||||
{{ if ne .Lang $.Lang }}
|
||||
<li style="list-style: none;"><a href="{{- .Permalink -}}" class="underline">{{- .Lang -}}</a></li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</section>
|
||||
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
<div>
|
||||
<details>
|
||||
<summary style="list-style: none; text-align: right;">Termine ☰</summary>
|
||||
<summary style="list-style: none; text-align: right;">Menü ☰</summary>
|
||||
<p>
|
||||
|
||||
<div class="footer_color" style="margin-top: 0; text-align: right;"><b>Termine</b></div>
|
||||
<li style="list-style: none; text-align: right;"><a href="{{ "/events" | relLangURL}}">{{ "all" | T }}</a></li>
|
||||
<!-- {{- $recurrent := where .Site.RegularPages "Params.recurrent" true }}
|
||||
{{ if $recurrent }}
|
||||
|
@ -16,6 +18,14 @@
|
|||
{{ end }}
|
||||
<li style="list-style: none; text-align: right;"><a href="{{ "categories/" | relLangURL}}{{ $orig | urlize }}">{{ $taxonomyname }}</a></li>
|
||||
{{ end }}
|
||||
{{ if .IsHome }}
|
||||
<div class="footer_color" style="margin-top: 1rem; text-align: right;"><b>Languages</b></div>
|
||||
{{ range $.Site.Home.AllTranslations }}
|
||||
{{ if ne .Lang $.Lang }}
|
||||
<li style="list-style: none; text-align: right;"><a href="{{- .Permalink -}}" class="underline">{{- .Lang -}}</a></li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</p>
|
||||
</details>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user