small fixes

This commit is contained in:
teldra 2022-06-15 00:29:54 +02:00
parent 36f147155e
commit 240ad6da96
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@
{{ $feat = i18n $feat }}
{{ end }}
<div class="two_lists">
{{ partial "layout/gen_list" (dict "context" . "pages" $featured "title" $feat )}}
{{ partial "layout/gen_list" (dict "context" . "pages" $featured "title" $feat "limit" "5" )}}
{{ partial "layout/gen_list" (dict "context" . "pages" $posts "title" $news "limit" "5" )}}
</div>
{{ end }}

View File

@ -4,7 +4,7 @@
{{ if i18n "contact" }}
{{ $contact = i18n "contact" }}
{{ end }}
<a href="{{- "contact" | absLangURL -}}">{{- $contact | strings.FirstUpper -}}:</a><br><br>
<div style="margin-bottom: .6em;"><a href="{{- "contact" | absLangURL -}}">{{- $contact | strings.FirstUpper -}}:</a></div>
{{- partial "snippets/contact" -}}
</div>
{{- end -}}