summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-01-10 20:54:16 +0100
committerxengineering <me@xengineering.eu>2023-01-10 20:54:16 +0100
commit90ee6368c25a5ef582dd3eb0d1a5363b6d75ec56 (patch)
tree41c00465367c1573e737a4e612ae2d3660a3d5fc
parent46f3101a99d7d26dbc9592720d386a37b56f6579 (diff)
downloadwebsite-90ee6368c25a5ef582dd3eb0d1a5363b6d75ec56.tar
website-90ee6368c25a5ef582dd3eb0d1a5363b6d75ec56.tar.zst
website-90ee6368c25a5ef582dd3eb0d1a5363b6d75ec56.zip
Add "Home" button
Since the site now has a proper navigation menu it is time for this button which is expected by most users.
-rw-r--r--themes/bare/layouts/git/list.html3
-rw-r--r--themes/bare/layouts/git/single.html1
2 files changed, 4 insertions, 0 deletions
diff --git a/themes/bare/layouts/git/list.html b/themes/bare/layouts/git/list.html
index b8dc147..e8c9eb4 100644
--- a/themes/bare/layouts/git/list.html
+++ b/themes/bare/layouts/git/list.html
@@ -19,6 +19,9 @@
<body>
<header>
+ <nav>
+ <a href="{{ "index.html" | absURL }}">Home</a>
+ </nav>
<h1>Git repositories</h1>
</header>
diff --git a/themes/bare/layouts/git/single.html b/themes/bare/layouts/git/single.html
index 092df5a..d2fd4c1 100644
--- a/themes/bare/layouts/git/single.html
+++ b/themes/bare/layouts/git/single.html
@@ -20,6 +20,7 @@
<header>
<nav>
+ <a href="{{ "index.html" | absURL }}">Home</a>
<a href="https://cgit.xengineering.eu/{{ .Params.name }}">cgit</a>
<a href="https://cgit.xengineering.eu/{{ .Params.name }}/atom">Atom feed</a>
<a href="https://cgit.xengineering.eu/{{ .Params.name }}">Clone URL</a>