Replies: 1 comment
-
What happens if you use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What happens if you use |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm trying to set up a website based on Jekyll, a theme called Just the Docs and the Jekyll Multiple Languages Plugin. So far I've been able to make the individual pages' titles display based on the selected language. However, I now face a new challenge, namely - how to set the proper URLs to point to the
/en/
subdirectory.In
nav.html
I'm looking at this stringNote how I've changed
{{node.title}}
to{% t note.title %}
and I can now get the respective language's translated title.I'm thinking something along these lines:
However, that only duplicates the whole URL after
/en/
, i.e.http://localhost:4000/en/http://localhost:4000/publication-title/
.So, could someone help me figure out the correct variable to use in order to accomplish something like this:
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions