We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bff082 commit 0a4ea0bCopy full SHA for 0a4ea0b
jinja2_git.py
@@ -19,5 +19,6 @@ def parse(self, parser):
19
"""Main method to render data into the template."""
20
lineno = next(parser.stream).lineno
21
22
+ # TODO: add {% gitcommit 'short' %} feature
23
result = self.call_method('_commit_hash', [], lineno=lineno)
24
return nodes.Output([result], lineno=lineno)
0 commit comments