aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-07-02 15:30:37 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-07-02 15:30:37 -0300
commita39580ae9b493bfa5495b4acd392c85770fd9383 (patch)
tree40d6b95232ae326d5f49e1041c6a14d753573faa
parent61e5c73db90045fb8e124acf3971b698e4d442f0 (diff)
downloadtemplates-a39580ae9b493bfa5495b4acd392c85770fd9383.tar.gz
templates-a39580ae9b493bfa5495b4acd392c85770fd9383.tar.bz2
Updates git URLs
-rw-r--r--ikiwiki/ikiwiki.setup8
1 files changed, 6 insertions, 2 deletions
diff --git a/ikiwiki/ikiwiki.setup b/ikiwiki/ikiwiki.setup
index 4cb2ad3..9f9448f 100644
--- a/ikiwiki/ikiwiki.setup
+++ b/ikiwiki/ikiwiki.setup
@@ -20,8 +20,12 @@ use IkiWiki::Setup::Standard {
# Git stuff.
rcs => "git",
- historyurl => "https://git.fluxo.info/?p=templates.git;a=history;f=[[file]]",
- diffurl => "https://git.fluxo.info/?p=templates.git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];f=[[file]]",
+ # Cgit
+ historyurl => "https://git.fluxo.info/templates/log/[[file]]",
+ diffurl => 'https://git.fluxo.info/templates/commit/[[file]]?id=[[sha1_commit]]',
+ # Gitweb
+ #historyurl => "https://gitweb.fluxo.info/?p=templates.git;a=history;f=[[file]]",
+ #diffurl => "https://gitweb.fluxo.info/?p=templates.git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];f=[[file]]",
#gitorigin_branch => "origin",
#gitmaster_branch => "master",
# See https://ikiwiki.info/tips/laptop_wiki_with_git/