add version of the site in the footer partial

This commit is contained in:
Santiago Forero 2021-10-12 16:22:22 -05:00
parent 5b56419133
commit a8f386ac7c
1 changed files with 9 additions and 3 deletions

View File

@ -1,8 +1,14 @@
<hr>
<footer id="main-footer">
<p style="text-align: center;">Made with &hearts; by <a href="https://forero.xyz">forero</a>. The source code of this site can be found <a href="https://github.com/forerosantiago/site">here</a>.</p>
<p style="text-align: center;">Made with &hearts; by <a href="https://forero.xyz">forero</a>.</p>
<p style="text-align: center;">
The source code of this site can be found <a href="https://github.com/forerosantiago/site">here</a>.
</p>
<h4></h4>
<b>Hotline webring:</b> <a href="https://hotlinewebring.club/forero/previous">previous</a> <a href="https://hotlinewebring.club/forero/next">next</a>
{{ $version := slicestr (readFile ".git/refs/heads/main") 0 7 }}
<p style="text-align: center;">This website is running on version <a href="https://github.com/forerosantiago/site/commit/{{ $version }}">{{ $version }}</a>.</p>
<p style="text-align: center;">
<a href="https://hotlinewebring.club/forero/previous">&larr;</a> Hotline webring <a href="https://hotlinewebring.club/forero/next">&rarr;</a>
</p>
</footer>