Files
bridget/layouts/_default/single.html
Sped0n ba0def753e refactor: remove i18n labels and centralize in config
Delete multilingual i18n files for UI labels. Add English labels to
params.toml under [labels]. Update 404.html, single.html, and nav.html
to use site.Params.labels instead of i18n.

Signed-off-by: Sped0n <hi@sped0n.com>
2025-11-12 00:27:13 +08:00

18 lines
403 B
HTML

{{- define "main" -}}
<div
class="container"
data-next="{{- site.Params.labels.next -}}"
data-prev="{{- site.Params.labels.prev -}}"
data-close="{{- site.Params.labels.close -}}"
data-loading="{{- site.Params.labels.loading -}}"
>
{{- with .Content -}}
<article>
{{- . -}}
</article>
{{- end -}}
{{- partial "nav.html" . -}}
</div>
{{- end -}}