aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2014-10-16 11:05:19 +0100
committerSimon McVittie <smcv@debian.org>2014-10-16 11:05:19 +0100
commita05277128732beb351aa696c49d337086414ffb6 (patch)
tree591c09e41d41e715e190b66d7ae05b1d0605e635 /IkiWiki
parent490a1eca7bed841848765b495a73fbc56e4808f4 (diff)
downloadikiwiki-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.pm6
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,