Git
This plugin is used to add a git version string to your template contexts.
Installation
# settings.py
PLUGINS = [
'flamingo.plugins.Git',
]
Settings
GIT_VERSION_CMD = 'git describe'
GIT_VERSION_EXTRA_CONTEXT_NAME = 'GIT_VERSION'
Usage
<!-- base.html -->
<h1>Flamigo documentation<small>{{ GIT_VERSION }}</small></h1>