From 4077bdfb982590947191e0d603eeee25c11a07e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20H=C3=A4drich?= <11225821+shaedrich@users.noreply.github.com> Date: Mon, 17 Jun 2024 14:39:26 +0200 Subject: [PATCH] Only show tag if there is one Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com> --- src/invidious/views/template.ecr | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/invidious/views/template.ecr b/src/invidious/views/template.ecr index cd50ef4b..e78c99f5 100644 --- a/src/invidious/views/template.ecr +++ b/src/invidious/views/template.ecr @@ -157,6 +157,7 @@ <%= CURRENT_VERSION %>-<%= CURRENT_COMMIT %> <% end %> @ <%= CURRENT_BRANCH %> + <% if CURRENT_TAG != "" %> ( <% if CONFIG.modified_source_code_url %> <%= CURRENT_TAG %> @@ -164,6 +165,7 @@ <%= CURRENT_TAG %> <% end %> ) + <% end %>