diff options
author | xengineering <me@xengineering.eu> | 2023-01-08 18:07:54 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-01-08 18:07:54 +0100 |
commit | 6d7005efc73272c7cf1f124b013904f6ef5cc599 (patch) | |
tree | 883d983979f36f34ab4b00393bb46975688a54c8 /themes | |
parent | ffc529b9888f0af21cc06f854ca6ce84f5dfdd0c (diff) | |
download | website-6d7005efc73272c7cf1f124b013904f6ef5cc599.tar website-6d7005efc73272c7cf1f124b013904f6ef5cc599.tar.zst website-6d7005efc73272c7cf1f124b013904f6ef5cc599.zip |
Reference cgit summary instead of tree
The summary view provides a nice overview and is the default page for
cgit what should be respected.
The downside is that it is harder to find the source tree for users not
used to cgit.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/bare/layouts/git/single.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/bare/layouts/git/single.html b/themes/bare/layouts/git/single.html index c353cbd..3732715 100644 --- a/themes/bare/layouts/git/single.html +++ b/themes/bare/layouts/git/single.html @@ -25,7 +25,7 @@ <div class="card"> <p class="card-first-item">{{ .Params.description }}</p> <p>State: {{ .Params.state }}</p> - <p>Browse source code: <a href="https://cgit.xengineering.eu/{{ .Params.name }}/tree">cgit tree</a></p> + <p>Source code: <a href="https://cgit.xengineering.eu/{{ .Params.name }}">cgit</a></p> <p>Get updates: <a href="https://cgit.xengineering.eu/{{ .Params.name }}/atom">Atom feed</a></p> <p style="" class="card-last-item">Clone repository: git clone https://cgit.xengineering.eu/{{ .Params.name }}</p> </div> |