💄 Udpate sub folder archive page title with i18n support.

This commit is contained in:
凡梦星尘 2022-08-10 22:07:03 +08:00
parent fc44e79ddd
commit 3965c0c108

View File

@ -1,5 +1,5 @@
{{- define "title" }} {{- define "title" }}
{{- .Params.Title | default (T .Section) | default .Section | dict "Some" | T "AllSome" }} - {{ .Site.Title -}} {{- .Params.Title | default (T .Section) | default .Section }} - {{ .Site.Title -}}
{{- end -}} {{- end -}}
{{ define "main_inner_class" }}index posts-expand{{ end }} {{ define "main_inner_class" }}index posts-expand{{ end }}