You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 {% project_version %} to a markdown file and it will replace this with the version tag obtained from the git repository.
However, this does not work in the sidebar of this theme:
Simply replacing 6.0 with {% project_version %} generates the error
found character that cannot start any token while scanning for the next token
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!
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: