summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHizbu Azka <hanifan.azka@gmail.com>2026-10-21 14:32:45 +0700
committerHizbu Azka <hanifan.azka@gmail.com>2026-10-21 15:11:19 +0700
commit0de687cc1153e594a3a7740b79a103287b4dd89d (patch)
tree4a7f27a1e6bd1bc32b1de3a6c4fcf29d2b81d9b1
parent976c0d950461ab884a9d107659d3ba103d8cb269 (diff)
always show footer even on dev
-rw-r--r--_layouts/default.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index bdfc4e8..04b2cf4 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -33,14 +33,17 @@
<!-- _layout/default.html BEGIN_content -->
{{ content -}}
<!-- _layout/default.html END_content -->
- {% if site.data.build %}
<footer>
<small title="Reflects the whole site, not this page. Individual pages may be unchanged since earlier versions.">
+ {% if site.data.build %}
site version
<a href="https://hizbu.com/cgit/hizbu.com.git/commit/?id={{ site.data.build.commit_full }}"><code>{{ site.data.build.commit }}</code></a>
· committed <time datetime="{{ site.data.build.date }}">{{ site.data.build.date }}</time>
+ {% else %}
+ site version <a href="https://hizbu.com/cgit/hizbu.com.git"><code>development</code></a>
+ · committed <time datetime="1970-01-01 00:00 UTC">1970-01-01 00:00 UTC</time>
+ {% endif %}
</small>
</footer>
- {% endif %}
</body>
</html>