aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/footer.html
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-15 15:20:28 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-15 15:20:28 +0300
commit4efc0341b29be5b6f3e1d9e2a31d925ce33f3ed1 (patch)
tree93fe353105bd0c985bbc898c5c85382da0d63408 /layouts/partials/footer.html
parent8c549e54fb33cee78b74e942cb7284be3e9afe2b (diff)
Auto-commit 2024-12-15
Diffstat (limited to 'layouts/partials/footer.html')
-rw-r--r--layouts/partials/footer.html17
1 files changed, 9 insertions, 8 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 657e7b5..99ec25a 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -1,4 +1,4 @@
-<footer class="bd-footer py-4 py-md-5 mt-5 bg-body-tertiary">
+<footer class="bd-footer py-4 py-md-5 mt-5 bg-body-tertiary shadow">
<div class="container">
<div class="row">
<div class="col">
@@ -9,16 +9,17 @@
</ul>
</div>
<div class="col d-flex justify-content-center">
- {{ with .GitInfo }}
- <ul class="list-unstyled">
- <li>Коммит: {{ .AbbreviatedHash }}</li>
- <li>Дата сборки: {{ .AuthorDate.Format "2006-01-02" }}</li>
- </ul>
- {{ end }}
+ <ul class="list-unstyled">
+ <li>Коммит: {{ .GitInfo.AbbreviatedHash }}</li>
+ <li>Дата сборки: {{ .GitInfo.AuthorDate.Format "2006-01-02" }}</li>
+ {{ with .File }}
+ <li><a href="https://git.neonxp.ru/blog.git/tree/content/{{.Path}}">Исходный код файла</a></li>
+ {{ end }}
+ </ul>
</div>
<div class="col">
<ul class="list-unstyled float-end">
- <li><a href="https://git.neonxp.ru/blog.git">Исходный код</a></li>
+ <li><a href="https://git.neonxp.ru/blog.git">Исходный код блога</a></li>
<li><a href="mailto:i@neonxp.ru" rel="me">Электропочта</a></li>
<li><a href="https://neonxp.ru/posts/index.xml">РСС</a></li>
</ul>