diff options
author | Simon McVittie <smcv@debian.org> | 2014-10-16 11:05:19 +0100 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2014-10-16 11:05:19 +0100 |
commit | a05277128732beb351aa696c49d337086414ffb6 (patch) | |
tree | 591c09e41d41e715e190b66d7ae05b1d0605e635 /IkiWiki | |
parent | 490a1eca7bed841848765b495a73fbc56e4808f4 (diff) | |
download | ikiwiki-a05277128732beb351aa696c49d337086414ffb6.tar ikiwiki-a05277128732beb351aa696c49d337086414ffb6.tar.gz |
Now that we're always using HTML5, <base href> can be relative
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/CGI.pm | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm index 0224c2aac..8fdde1a2e 100644 --- a/IkiWiki/CGI.pm +++ b/IkiWiki/CGI.pm @@ -67,9 +67,6 @@ sub cgitemplate ($$$;@) { if (exists $params{page}) { $page=delete $params{page}; $params{forcebaseurl}=urlto($page); - if (! $config{html5}) { - $params{forcebaseurl}=urlabs($params{forcebaseurl}, $topurl); - } } run_hooks(pagetemplate => sub { shift->( @@ -81,9 +78,6 @@ sub cgitemplate ($$$;@) { templateactions($template, ""); my $baseurl = baseurl(); - if (! $config{html5}) { - $baseurl = urlabs($baseurl, $topurl), - } $template->param( dynamic => 1, |