From 3965c0c10838b02a24ef60fb9e3bfcf27be48a65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=87=A1=E6=A2=A6=E6=98=9F=E5=B0=98?= Date: Wed, 10 Aug 2022 22:07:03 +0800 Subject: [PATCH] :lipstick: Udpate sub folder archive page title with i18n support. --- layouts/_default/section.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/section.html b/layouts/_default/section.html index 6c2dfba..1c9ea69 100644 --- a/layouts/_default/section.html +++ b/layouts/_default/section.html @@ -1,5 +1,5 @@ {{- 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 -}} {{ define "main_inner_class" }}index posts-expand{{ end }}