From f35a7b0e70032de2feec9f3bda09da44cf0e1073 Mon Sep 17 00:00:00 2001 From: srv Date: Mon, 28 Apr 2025 17:11:28 -0500 Subject: first commit --- plugins/get_app_version/README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 plugins/get_app_version/README.md (limited to 'plugins/get_app_version/README.md') 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 %} +
{{ _('Current version:') }} {{ CURRENT_VERSION }} @ {{ CURRENT_BRANCH }}
+ {% endif %} + +License +======= + +This work is under the License [GNU GPLv3+](LICENSE) -- cgit v1.2.3