diff options
author | xengineering <me@xengineering.eu> | 2023-01-10 20:54:16 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-01-10 20:54:16 +0100 |
commit | 90ee6368c25a5ef582dd3eb0d1a5363b6d75ec56 (patch) | |
tree | 41c00465367c1573e737a4e612ae2d3660a3d5fc | |
parent | 46f3101a99d7d26dbc9592720d386a37b56f6579 (diff) | |
download | website-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.html | 3 | ||||
-rw-r--r-- | themes/bare/layouts/git/single.html | 1 |
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> |