diff --git a/README.md b/README.md index 12bd8cb6..67b86697 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ - Social Icons (home-info and profile-mode) - Social-Media Share buttons on posts. - Menu location indicator. -- Multilingual support. (with language selector) +- Multilingual support (with improved language selector) - Taxonomies - Cover image for each post (with Responsive image support). - Light/Dark theme (automatic theme switch a/c to browser theme and theme-switch button). diff --git a/layouts/_default/search.html b/layouts/_default/search.html index bb7d436d..678f903c 100644 --- a/layouts/_default/search.html +++ b/layouts/_default/search.html @@ -13,10 +13,10 @@ {{ .Description }} {{- end }} - {{- if not (.Param "hideMeta") }} -
+ {{- if and (.Param "showTranslationListInPosts") (not (.Param "hideMeta")) }} + {{- end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 19a624f4..f15e6ef1 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -22,7 +22,9 @@ {{- if not (.Param "hideMeta") }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 4a7291e2..2135456b 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -96,27 +96,42 @@ {{- end }} - {{- $lang := .Lang}} - {{- $separator := or $label_text (not site.Params.disableThemeToggle)}} - {{- with site.Home.AllTranslations }} -