Skip to content
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

Display version numbers #8

Open
kbatuigas opened this issue Apr 6, 2020 · 1 comment
Open

Display version numbers #8

kbatuigas opened this issue Apr 6, 2020 · 1 comment

Comments

@kbatuigas
Copy link

We'd like to have the "version number" be visible within the docs itself, and it would be nice if it could persist across the pages so that readers are able to easily tell which version they're reading, no matter where they are in the docs. Currently they can do so by referring to the URL, but something more explicit on the page itself would be a better experience.

If it's something that could be solved by front matter in Hugo we would be interested in learning how to set that up. Thank you!

@sharmay
Copy link
Contributor

sharmay commented Apr 7, 2020

Where is "version number" defined ?
Ex based on Front matter variable in .md file

----
my_version: 10.2.52
----

Version is {{< param my_version >}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants