-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Project version as variable #187
Comments
I also would like to automatically update the project verison number that is used in this theme. I found a useful jekyll pluggin that does almost everything I want : jekyll-version-plugin. Once this is installed, you only need to add However, this does not work in the sidebar of this theme:
Simply replacing
I tried naively to "escape" this sequence with more brackets and quotes, but I couldn't find a way that would work. It would be extremely useful for me if there was a way to fix this! |
I found a workaround to this, but it involves editing one of the template files:
|
Is it possible to define a variable, say project_version in
_config.html
and use it in one of the sidebars as
{{site.project_version}}
?I tried this already but it did not render correctly.
Any idea why not?
The text was updated successfully, but these errors were encountered: