fixed page-header translation issue, ref #102

This commit is contained in:
Somrat 2024-03-03 09:08:18 +06:00
parent f29543d2f2
commit 08d168e2f2

View File

@ -2,7 +2,7 @@
<div class="container text-center">
<div
class="from-body to-theme-light dark:from-darkmode-body dark:to-darkmode-theme-light rounded-2xl bg-gradient-to-b px-8 py-14">
<h1>{{ i18n (printf "%s" .Title) | default .Title | title }}</h1>
<h1>{{ i18n (printf "%s" (lower .Title)) | default .Title | title }}</h1>
{{ partial "components/breadcrumb" (dict "Context" . "Class" "mt-6") }}
</div>
</div>