From 413a03ff20a82924226618298b7edc0c9b34aab2 Mon Sep 17 00:00:00 2001 From: Xevion Date: Sun, 10 Apr 2022 17:42:46 -0500 Subject: [PATCH] Place build revision numbers inside page --- _config.yml | 3 ++- _layouts/default.html | 1 + _layouts/posts.html | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index 1c0f963..dde4095 100644 --- a/_config.yml +++ b/_config.yml @@ -16,4 +16,5 @@ sass: compress_html: ignore: envs: ["development"] - comments: all \ No newline at end of file + comments: all +repository: xevion/xevion.dev \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index 9973426..4459d07 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -8,6 +8,7 @@ layout: compress + diff --git a/_layouts/posts.html b/_layouts/posts.html index 40f486e..5bbf0d3 100644 --- a/_layouts/posts.html +++ b/_layouts/posts.html @@ -38,4 +38,7 @@ layout: default <p style="text-align: center;"> <a href="/feed.xml">Atom</a> + <em><a href="{{ site.github.repository_url }}/commit/{{ site.github.build_revision }}"> + #{{ site.github.build_revision }} + </a></em> </p>