-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Description
What version of Hugo are you using (hugo version)?
v0.146.3
Does this issue reproduce with the latest release?
Yes
Problem
My site is in Russian and English. The default language is Russian (defaultContentLanguage = "ru").
Files:
/partials/comment.ru.html
/partials/comment.en.html
/partials/comment.ru.xml
/partials/comment.en.xml
Fragment from the template /layouts/_default/single.html:
{{ partial (print "comment." (default "ru" .Lang) ".html") . }}
In version 0.145.0 everything was fine, but after the update it always displays only partial en (comment.en.html). Even in RSS I see comment.en.html (instead of comment.ru.xml or comment.en.xml).