From f05c444719230cc1c2fa68f1f23dfa3ec3a69c50 Mon Sep 17 00:00:00 2001 From: legoraft Date: Thu, 28 May 2026 15:12:56 +0200 Subject: [PATCH] feat: added git commit to bottom of site --- sass/base.scss | 6 ++++++ templates/base.html | 2 ++ 2 files changed, 8 insertions(+) diff --git a/sass/base.scss b/sass/base.scss index d9f4fa7..a39c9ca 100644 --- a/sass/base.scss +++ b/sass/base.scss @@ -247,6 +247,12 @@ img.pixelated { image-rendering: pixelated; } +p.buildinfo { + color: var(--surface); + text-align: center; + margin-top: 1rem; +} + @media only screen and (max-width: 940px) { body { margin: 1rem 1rem; diff --git a/templates/base.html b/templates/base.html index 1c7b435..187d22d 100644 --- a/templates/base.html +++ b/templates/base.html @@ -18,5 +18,7 @@ {% include "partials/footer.html" %} + +

{{ get_env(name="GIT_COMMIT") | truncate(length=7, end="") }}

-- 2.51.2