From a39580ae9b493bfa5495b4acd392c85770fd9383 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 2 Jul 2016 15:30:37 -0300 Subject: Updates git URLs --- ikiwiki/ikiwiki.setup | 8 ++++++-- 1 file 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/ -- cgit v1.2.3