docsy icon indicating copy to clipboard operation
docsy copied to clipboard

page meta links should respect `.Site.IsMultiLingual`

Open tmc opened this issue 3 years ago • 1 comments

Currently, the page meta links will always include "en" even if the site is not multi-lingual and has content directly in the "contents" directory (vs "contents/en").

tmc avatar Apr 20 '22 18:04 tmc

This is a problem that has come up before (see #138) and we haven't found anything elegant that worked with the templating. Hopefully now that we have a bigger community (and possibly Hugo has changed a bit) we can come up with a solution.

Duplicate of #138

LisaFC avatar Apr 21 '22 17:04 LisaFC