aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
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
parent8c549e54fb33cee78b74e942cb7284be3e9afe2b (diff)
Auto-commit 2024-12-15
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/footer.html17
-rw-r--r--layouts/partials/header.html2
2 files changed, 10 insertions, 9 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>
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index a83b604..4cb6113 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,4 +1,4 @@
-<nav class="navbar navbar-expand-lg bg-dark fixed-top" data-bs-theme="dark">
+<nav class="navbar navbar-expand-lg bg-dark fixed-top shadow" data-bs-theme="dark">
<div class="container">
<a class="navbar-brand" href="/">
<img src="{{ .Site.Params.Logo }}" alt="{{ .Site.Title }}" width="32" height="32">