From 0f79e2015cd692c674eee6fb5882d84d1ac61141 Mon Sep 17 00:00:00 2001 From: flashwave Date: Wed, 3 Oct 2018 09:54:43 +0200 Subject: [PATCH] Refer to tag name rather than branch name in the footer. --- misuzu.php | 1 + templates/master.twig | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/misuzu.php b/misuzu.php index 32f31928..cfc06bbc 100644 --- a/misuzu.php +++ b/misuzu.php @@ -266,6 +266,7 @@ MIG; tpl_add_function('git_commit_hash'); tpl_add_function('git_branch'); + tpl_add_function('git_tag'); tpl_add_function('csrf_token'); tpl_add_function('startup_time', false, function (float $time = MSZ_STARTUP) { return microtime(true) - $time; diff --git a/templates/master.twig b/templates/master.twig index 8644a238..91459af7 100644 --- a/templates/master.twig +++ b/templates/master.twig @@ -33,7 +33,7 @@