aboutsummaryrefslogtreecommitdiff
path: root/templates/ikiwiki.setup.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/ikiwiki.setup.erb')
-rw-r--r--templates/ikiwiki.setup.erb8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/ikiwiki.setup.erb b/templates/ikiwiki.setup.erb
index 3e7943c..56d5ad2 100644
--- a/templates/ikiwiki.setup.erb
+++ b/templates/ikiwiki.setup.erb
@@ -14,8 +14,8 @@ use IkiWiki::Setup::Standard {
srcdir => "<%= apache_sites_folder %>/<%= name %>/ikiwiki_src",
destdir => "<%= apache_sites_folder %>/<%= name %>/ikiwiki",
- url => "http://<%= name %>.<%= base_url %>",
- cgiurl => "http://<%= name %>.<%= base_url %>/ikiwiki.cgi",
+ url => "<%= protocol %>://<%= name %>.<%= base_url %>",
+ cgiurl => "<%= protocol %>://<%= name %>.<%= base_url %>/ikiwiki.cgi",
#templatedir => "/usr/share/ikiwiki/templates",
#underlaydir => "/usr/share/ikiwiki/basewiki",
@@ -28,8 +28,8 @@ use IkiWiki::Setup::Standard {
# Git stuff.
rcs => "git",
- historyurl => "http://git.<%= base_url %>/?p=<%= name %>.git;a=history;f=[[file]]",
- diffurl => "http://git.<%= base_url %>/?p=<%= name %>.git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];f=[[file]]",
+ historyurl => "<%= protocol %>://git.<%= base_url %>/?p=<%= name %>.git;a=history;f=[[file]]",
+ diffurl => "<%= protocol %>://git.<%= base_url %>/?p=<%= name %>.git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];f=[[file]]",
#gitorigin_branch => "origin",
#gitmaster_branch => "master",