diff options
author | srv <enmanuel.saravia.externo@pandero.com.pe> | 2025-04-28 17:11:28 -0500 |
---|---|---|
committer | srv <enmanuel.saravia.externo@pandero.com.pe> | 2025-04-28 17:11:28 -0500 |
commit | f35a7b0e70032de2feec9f3bda09da44cf0e1073 (patch) | |
tree | 1e0e09581dd3707d0ceb93346452dd14451a8423 /plugins/get_app_version/README.md |
first commit
Diffstat (limited to 'plugins/get_app_version/README.md')
-rw-r--r-- | plugins/get_app_version/README.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/plugins/get_app_version/README.md b/plugins/get_app_version/README.md new file mode 100644 index 0000000..3233051 --- /dev/null +++ b/plugins/get_app_version/README.md @@ -0,0 +1,24 @@ +App version +============ + +A Pelican plugin to show app version from git. + +Copyright (c) 2020 - Jesús E. + +How to use +========== + +In your pelicanconf.py, add: + + PLUGINS = ['get_app_version'] + +In your template, add: + + {% if CURRENT_VERSION and CURRENT_BRANCH %} + <h6>{{ _('Current version:') }} {{ CURRENT_VERSION }} @ {{ CURRENT_BRANCH }}</h6> + {% endif %} + +License +======= + +This work is under the License [GNU GPLv3+](LICENSE) |