diff --git a/i18n/en.toml b/i18n/en.toml index 2a7016d6..156f7950 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -419,6 +419,12 @@ other = "Light" [tipeee] other = "Tipeee" +[toggle_sidebar] +other = "Toggle sidebar" + +[translations] +other = "Translations" + [try_again] other = "Try again" diff --git a/i18n/zh-cn.toml b/i18n/zh-cn.toml index 9e956304..4b847f1d 100644 --- a/i18n/zh-cn.toml +++ b/i18n/zh-cn.toml @@ -400,6 +400,12 @@ other = "深色" [theme_light] other = "浅色" +[toggle_sidebar] +other = "切换侧边栏" + +[translations] +other = "译文" + [try_again] other = "再试一次" diff --git a/i18n/zh-hans.toml b/i18n/zh-hans.toml index 9e956304..4b847f1d 100644 --- a/i18n/zh-hans.toml +++ b/i18n/zh-hans.toml @@ -400,6 +400,12 @@ other = "深色" [theme_light] other = "浅色" +[toggle_sidebar] +other = "切换侧边栏" + +[translations] +other = "译文" + [try_again] other = "再试一次" diff --git a/i18n/zh-hant.toml b/i18n/zh-hant.toml index 0cfe892e..7ecf154e 100644 --- a/i18n/zh-hant.toml +++ b/i18n/zh-hant.toml @@ -400,6 +400,12 @@ other = "深色" [theme_light] other = "淺色" +[toggle_sidebar] +other = "切換側邊欄" + +[translations] +other = "譯文" + [try_again] other = "再試一次" diff --git a/i18n/zh-hk.toml b/i18n/zh-hk.toml index 6f6a68a8..b76f93f1 100644 --- a/i18n/zh-hk.toml +++ b/i18n/zh-hk.toml @@ -400,6 +400,12 @@ other = "深色" [theme_light] other = "淺色" +[toggle_sidebar] +other = "切換側邊欄" + +[translations] +other = "譯文" + [try_again] other = "再試一次" diff --git a/i18n/zh-tw.toml b/i18n/zh-tw.toml index 0cfe892e..7ecf154e 100644 --- a/i18n/zh-tw.toml +++ b/i18n/zh-tw.toml @@ -400,6 +400,12 @@ other = "深色" [theme_light] other = "淺色" +[toggle_sidebar] +other = "切換側邊欄" + +[translations] +other = "譯文" + [try_again] other = "再試一次" diff --git a/layouts/partials/post/panel/comments.html b/layouts/partials/post/panel/comments.html index 59c108aa..6ea03bd5 100644 --- a/layouts/partials/post/panel/comments.html +++ b/layouts/partials/post/panel/comments.html @@ -1,5 +1,5 @@ {{- if and (default true .Site.Params.comment) (default true .Params.comment) -}} - + {{- end -}} diff --git a/layouts/partials/post/panel/copyright.html b/layouts/partials/post/panel/copyright.html index e197fd7b..4d52cfcb 100644 --- a/layouts/partials/post/panel/copyright.html +++ b/layouts/partials/post/panel/copyright.html @@ -1,5 +1,5 @@ {{- if and (default true .Site.Params.post.copyright) (default true .Params.copyright) -}} - + {{- end -}} diff --git a/layouts/partials/post/panel/sidebar-toggler.html b/layouts/partials/post/panel/sidebar-toggler.html index 7826d5e1..e3fd6a06 100644 --- a/layouts/partials/post/panel/sidebar-toggler.html +++ b/layouts/partials/post/panel/sidebar-toggler.html @@ -1,5 +1,5 @@ {{- if default true .Params.sidebar }} - + {{- end }} diff --git a/layouts/partials/post/panel/toc.html b/layouts/partials/post/panel/toc.html index 48b7cf6e..74815573 100644 --- a/layouts/partials/post/panel/toc.html +++ b/layouts/partials/post/panel/toc.html @@ -1,10 +1,10 @@ {{- if partial "functions/toc" . -}} {{- if ne .Type "docs" }} - + {{- end }} - + {{- end -}} diff --git a/layouts/partials/post/panel/translations.html b/layouts/partials/post/panel/translations.html index 956ebd0e..e552821b 100644 --- a/layouts/partials/post/panel/translations.html +++ b/layouts/partials/post/panel/translations.html @@ -1,7 +1,7 @@ {{ if and .IsTranslated }}