Skip to content

Commit

Permalink
Version 0.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Jan 1, 2018
1 parent 5bff082 commit 0a4ea0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jinja2_git.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ def parse(self, parser):
"""Main method to render data into the template."""
lineno = next(parser.stream).lineno

# TODO: add {% gitcommit 'short' %} feature
result = self.call_method('_commit_hash', [], lineno=lineno)
return nodes.Output([result], lineno=lineno)

0 comments on commit 0a4ea0b

Please sign in to comment.