forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
595245d1c9
commit
e6910cec7a
|
@ -11,6 +11,9 @@
|
|||
<main class="content">
|
||||
{{ partial "snippets/banner" . -}}
|
||||
<div class="main">
|
||||
{{ if not .IsHome}}
|
||||
<button onclick="history.back()" style="align-self: flex-end; margin-top: 1em; padding: 0; background-color: var(--background-body);">{{ if i18n "back" }}{{ i18n "back" }}{{ else }}{{ "back" }}{{ end }}</button>
|
||||
{{ end }}
|
||||
{{ block "content" . -}}{{- end }}
|
||||
<div class="main_upper">
|
||||
{{ block "add_content" . -}}{{- end }}
|
||||
|
|
|
@ -16,13 +16,14 @@
|
|||
{{ if $p }}
|
||||
<div class="gen_list">
|
||||
{{ if $title }}
|
||||
<h2>
|
||||
<h2 style="display: flex; align-items: baseline;">
|
||||
{{ if $link }}
|
||||
<a href="{{ $link | relLangURL }}">
|
||||
{{ end }}
|
||||
{{ $title }}
|
||||
{{ if $link }}
|
||||
</a>
|
||||
<a href="{{ $link | relLangURL }}" style="text-decoration: underline; font-size: x-small">({{ if i18n "all" }}{{ i18n "all"}}{{ else }}{{ "all" }}{{ end }})</a>
|
||||
{{ end }}
|
||||
</h2>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user