small fixes

This commit is contained in:
teldra 2022-06-15 17:32:06 +02:00
parent 595245d1c9
commit e6910cec7a
2 changed files with 5 additions and 1 deletions

View File

@ -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 }}

View File

@ -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 }}