Handling taxonomy display on single in multilang website. #266
Unanswered
krispkrisp
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Each language version has different custom taxonomies.
I'm trying to modify the single template to use different partial when different language is used.
I wanted to use this:
{{ $kp_lang := Site.Language }} {{ $path := print $kp_lang "/single-tax" }} {{ partial $path . }}
However, weird things happen.
.Language.Lang variable:
How the same variable, used on the same page in the same language is displaying different value?
Beta Was this translation helpful? Give feedback.
All reactions