summaryrefslogtreecommitdiff
path: root/_layouts/default.html
diff options
context:
space:
mode:
Diffstat (limited to '_layouts/default.html')
-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>