summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorspiderr <spiderr@bitweaver.org>2021-02-16 14:49:25 -0500
committerspiderr <spiderr@bitweaver.org>2021-02-16 14:49:25 -0500
commite3a9c7412293cd1291b8228fe66f4e6bc05425bc (patch)
tree717caf2d19b393ff6d84c8ca6482292f15e175f9 /templates
parentcfe6b8445958e3af377e951c90f0dfece70374e2 (diff)
downloadkernel-e3a9c7412293cd1291b8228fe66f4e6bc05425bc.tar.gz
kernel-e3a9c7412293cd1291b8228fe66f4e6bc05425bc.tar.bz2
kernel-e3a9c7412293cd1291b8228fe66f4e6bc05425bc.zip
add baseHref support in <head>
Diffstat (limited to 'templates')
-rw-r--r--templates/html.tpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/html.tpl b/templates/html.tpl
index b92b317..0540cd7 100644
--- a/templates/html.tpl
+++ b/templates/html.tpl
@@ -31,6 +31,9 @@
<!--[if lt IE 9]>
<script src="{$smarty.const.CONFIG_PKG_URL}js/html5shim/html5shiv.js"></script>
<![endif]-->
+ {if $baseHref}
+ <base href="{$baseHref}">
+ {/if}
</head>
<body itemscope itemtype="http://schema.org/WebPage"
{if $gBitSystem->mOnload} onload="{foreach from=$gBitSystem->mOnload item=loadString}{$loadString}{/foreach}" {/if}