summaryrefslogtreecommitdiff
path: root/usr/local/etc/cgitrc
diff options
context:
space:
mode:
author53hornet <atc@53hor.net>2022-01-17 23:14:29 -0500
committer53hornet <atc@53hor.net>2022-01-17 23:14:29 -0500
commitf1196ed37bdac83ad34b895d23864caad75ad668 (patch)
tree9e8fcff8e9f2c19815bd39b1fbd739de20e9b43f /usr/local/etc/cgitrc
parent53cab55111b465e4edfd37f5300fc62ca1fe6e2c (diff)
downloadcgit-f1196ed37bdac83ad34b895d23864caad75ad668.tar.xz
cgit-f1196ed37bdac83ad34b895d23864caad75ad668.zip
feat: add and support pretty permalinksHEADmaster
Diffstat (limited to 'usr/local/etc/cgitrc')
-rw-r--r--usr/local/etc/cgitrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/etc/cgitrc b/usr/local/etc/cgitrc
index d1686fe..c93c5b1 100644
--- a/usr/local/etc/cgitrc
+++ b/usr/local/etc/cgitrc
@@ -3,10 +3,12 @@ logo=https://www.53hor.net/assets/53hornet.svg
css=https://www.53hor.net/includes/cgit.css
root-title=index : git.53hor.net
root-desc=The source code repositories of Adam Carpenter (53hornet)
+virtual-root=/
+repository-sort=age
logo-link=/
enable-blame=1
enable-commit-graph=1
-clone-url=http://$HTTP_HOST$SCRIPT_NAME/$CGIT_REPO_URL
+clone-url=https://$HTTP_HOST/$CGIT_REPO_URL
enable-http-clone=1
snapshots=tar.xz zip
remove-suffix=1