--- a/Dockerfile Mon Jun 10 22:34:53 2019 +0100
+++ b/Dockerfile Mon Jun 10 22:42:52 2019 +0100
@@ -8,8 +8,11 @@
apt-get install -y hugo && \
rm -rf /var/lib/apt/lists
RUN hugo -s /nest/hugo -d /nest/public
--- a/hugo/layouts/partials/footline.html Mon Jun 10 22:34:53 2019 +0100
+++ b/hugo/layouts/partials/footline.html Mon Jun 10 22:42:52 2019 +0100
@@ -72,4 +72,12 @@
-<div class="build-info">Built: {{ now.Format "02 Jan 06 15:04" }}</div>
+<div class="build-info"> + Hugo: {{ now.Format "02 Jan 06 15:04" }} + {{ with getenv "BUILD_NAME" }}{{ . }}{{ else }}n/a{{ end }} + {{ with getenv "BUILD_DATE" }}{{ . | time.Format "02 Jan 06 15:04" }}{{ else }}n/a{{ end }} + - Commit: {{ with getenv "COMMIT" }}{{ . }}{{ else }}n/a{{ end }} + - Hugo Version: {{ hugo.Version }} + - {{ hugo.Environment }}