diff options
| author | spiderr <spiderr@bitweaver.org> | 2021-02-16 14:49:25 -0500 |
|---|---|---|
| committer | spiderr <spiderr@bitweaver.org> | 2021-02-16 14:49:25 -0500 |
| commit | e3a9c7412293cd1291b8228fe66f4e6bc05425bc (patch) | |
| tree | 717caf2d19b393ff6d84c8ca6482292f15e175f9 /templates | |
| parent | cfe6b8445958e3af377e951c90f0dfece70374e2 (diff) | |
| download | kernel-e3a9c7412293cd1291b8228fe66f4e6bc05425bc.tar.gz kernel-e3a9c7412293cd1291b8228fe66f4e6bc05425bc.tar.bz2 kernel-e3a9c7412293cd1291b8228fe66f4e6bc05425bc.zip | |
add baseHref support in <head>
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/html.tpl | 3 |
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} |
