feat(main): Add base theme: This is the falcon theme out of the box.
This is falcon v3.1.2
This commit is contained in:
10
falcon/templates/_partials/head-preload.tpl
Normal file
10
falcon/templates/_partials/head-preload.tpl
Normal file
@ -0,0 +1,10 @@
|
||||
{$themeDir = _PS_THEME_DIR_}
|
||||
{$preloadFilePath = "`$themeDir`assets/preload.html"}
|
||||
{$urlsWithCdn = $urls.img_ps_url|replace:'/img/':'/'}
|
||||
|
||||
{if file_exists($preloadFilePath)}
|
||||
{capture name="preloadBlock"}{include file=$preloadFilePath}{/capture}
|
||||
|
||||
{$smarty.capture.preloadBlock|replace:'/themes/':"`$urlsWithCdn`themes/" nofilter}
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user