-
Notifications
You must be signed in to change notification settings - Fork 9
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
Git info variable #74
Comments
There isn't a way to do this with Jekyll to my knowledge, but this would make a great plugin, so I might add it. I have definitely used this before, but I always ingest it before the build. I think for now I would add a step to the build with a Bash command like:
Then the object will be available as |
I got most of that command from here: https://gist.github.com/varemenos/e95c2e098e657c7688fd |
Oh I would also add |
I just found the jekyll-github-metadata plugin, which gives you One thing that's awkward about attributes/variables with jekyll-asciidoc is that they don't cross those two scopes very well. If you set attributes in your AsciiDoc files, they won't be available as Jekyll/Liquid variables even on the same page template. Meanwhile, anything in the 'site' scope I might try to modify jekyll-asciidoc in order to make the |
Hugo has a Git info variable that fetches the last commit associated with a contents page. Is it possible to do the same in Asciidocsy?
The text was updated successfully, but these errors were encountered: