diff --git a/i18n/en.toml b/i18n/en.toml index de033a9..1b09bfc 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -25,3 +25,11 @@ other = "Newer" [older] other = "Older" + +# partials/header.html +# +[menu] +other = "Menu" + +[featuredImage] +other = "Featured Image" diff --git a/i18n/zh-hans.toml b/i18n/zh-hans.toml index eddd8ba..8884b93 100644 --- a/i18n/zh-hans.toml +++ b/i18n/zh-hans.toml @@ -25,3 +25,11 @@ other = "新" [older] other = "旧" + +# partials/header.html +# +[menu] +other = "菜单" + +[featuredImage] +other = "特色图片" diff --git a/layouts/partials/header.html b/layouts/partials/header.html index ae1a9a8..9eb24f2 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -12,15 +12,15 @@
{{ with .Params.featuredImg -}} - + {{- end }} {{- with .Params.toc -}} - + {{- end }} {{- with .Site.Params.social -}} {{ partialCached "social-icons.html" . }} {{- end -}} - +
diff --git a/layouts/partials/social-icons.html b/layouts/partials/social-icons.html index 5df3d55..5c4282a 100644 --- a/layouts/partials/social-icons.html +++ b/layouts/partials/social-icons.html @@ -1,3 +1,3 @@ {{ range . -}} -{{ partial "svg.html" . }} +{{ partial "svg.html" . }} {{- end -}}