fixed language switcher

This commit is contained in:
Somrat 2021-12-18 12:24:57 +06:00
parent ee51534a34
commit fa2d300c90
3 changed files with 3 additions and 3 deletions

View file

View file

@ -13,7 +13,7 @@
{{ else }} {{ else }}
{{ "<!-- header -->" | safeHTML }} {{ "<!-- header -->" | safeHTML }}
<header class="shadow-bottom sticky-top bg-white"> <header class="shadow-bottom sticky-top bg-white">
{{ partialCached "navigation.html" . }} {{ partial "navigation.html" . }}
</header> </header>
{{ "<!-- /header -->" | safeHTML }} {{ "<!-- /header -->" | safeHTML }}
{{ end }} {{ end }}

View file

@ -1,8 +1,8 @@
{{ define "main" }} {{ define "main" }}
{{ if .Content }} {{ if .Content }}
<section class="section text-center"> <section class="section text-center pb-0">
<div class="container-fluid"> <div class="container">
{{ .Content }} {{ .Content }}
</div> </div>
</section> </section>