summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-01-08 18:07:54 +0100
committerxengineering <me@xengineering.eu>2023-01-08 18:07:54 +0100
commit6d7005efc73272c7cf1f124b013904f6ef5cc599 (patch)
tree883d983979f36f34ab4b00393bb46975688a54c8
parentffc529b9888f0af21cc06f854ca6ce84f5dfdd0c (diff)
downloadwebsite-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.
-rw-r--r--themes/bare/layouts/git/single.html2
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>