Minor changes and fixes, showing Git commit in footer.

This commit is contained in:
Adsooi 2021-08-06 22:27:38 +02:00
parent 8b1403e2d2
commit d5c7d6c2cc
No known key found for this signature in database
GPG key ID: 9C87C7D3A69E6BBE
6 changed files with 16 additions and 8 deletions

View file

@ -13,12 +13,16 @@
<div class="text-center col3">
<br>
{{ .Site.Copyright }}<br>
<a href="{{ .Site.Params.websiteSource }}">{{ i18n "websiteSource" }}</a><br>
<p><a href="{{ .Site.Params.websiteSource }}">{{ i18n "websiteSource" }}</a></p>
{{ if .GitInfo }}
<p>Built from <a href="{{ .Site.Params.websiteSource }}/commit/{{ .GitInfo.Hash }}">{{ .GitInfo.AbbreviatedHash }}</a></p>
{{ end }}
<a href="https://ad5001.eu/terms-of-use">Terms of use</a><br>
</div>
<div class="col3 text-right padding-container-1">
<br>
{{ i18n "usingTheme" }} <a href="https://git.ad5001.eu/Ad5001/omegamma">Omegamma</a><br>
{{ i18n "poweredBy" }} <a href="https://gohugo.io">Hugo</a>
<p>{{ i18n "usingTheme" }} <a href="https://git.ad5001.eu/Ad5001/omegamma">Omegamma</a></p>
<p>{{ i18n "poweredBy" }} <a href="https://gohugo.io">Hugo</a></p>
</div>
</div>
<br>

View file

@ -21,5 +21,5 @@
{{ end }}
{{ end }}
{{ $mainjs := resources.Get "/js/main.js" | minify }}
<script src="{{ $mainjs.Permalink }}"></script>
<script defer src="{{ $mainjs.Permalink }}"></script>
</head>