New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: page
variables to not rendered correctly
#9519
Comments
yonz2
changed the title
[Bug]: page variables to not rendered correctly
[Bug]: Jan 3, 2024
page
variables to not rendered correctly
Just curious, was this working properly before |
Not sure ... I gave up on this and re implemented everything in Hugo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Operating System
Ubuntu 20.04.6
Ruby Version
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]
Jekyll Version
jekyll 4.3.3
GitHub Pages Version
No response
Expected Behavior
I expect the page.title and pages.lang variables to render correctly on
bundle exec jekyll build
Current Behavior
Consider this frontmatter for a page:
The following code snippet:
Renders as:
Here the
page.lang
andpage.title
variables are wrong. Their values are actually taken from the frontmatter of the first file in the./_posts
folder. The frontmatter of that file is:Relevant log output
Code Sample
Steps to reproduce
I use github CodeSpace to run my code.
Repo: https://github.com/yonz2/netinnovate
So to reproduce, create a codespace for the repo, run
bundle update
followed bybundle exec jekyll build
and inspect the generated output in e.g../_site/de/about/index.html
See also an issue files on the Polyglot repo untra/polyglot#187
The text was updated successfully, but these errors were encountered: