update
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
{**
|
||||
* Creative Elements - live Theme & Page Builder
|
||||
*
|
||||
* @author WebshopWorks
|
||||
* @copyright 2019-2022 WebshopWorks.com
|
||||
* @license One domain support license
|
||||
*}
|
||||
{if $stylesheets}
|
||||
{foreach $stylesheets.external as $stylesheet}
|
||||
<link rel="stylesheet" href="{$stylesheet.uri}" media="{$stylesheet.media}">
|
||||
{/foreach}
|
||||
|
||||
{foreach $stylesheets.inline as $stylesheet}
|
||||
<style>
|
||||
{$stylesheet.content|cefilter}
|
||||
</style>
|
||||
{/foreach}
|
||||
{/if}
|
||||
|
||||
{foreach $javascript.external as $js}
|
||||
<script src="{$js.uri}" {$js.attribute}></script>
|
||||
{/foreach}
|
||||
|
||||
{foreach $javascript.inline as $js}
|
||||
<script>
|
||||
{$js.content|cefilter}
|
||||
</script>
|
||||
{/foreach}
|
||||
|
||||
{if $js_custom_vars}
|
||||
<script>
|
||||
{foreach $js_custom_vars as $var_key => $var_val}
|
||||
var {$var_key} = {json_encode($var_val)|cefilter};
|
||||
{/foreach}
|
||||
</script>
|
||||
{/if}
|
||||
Reference in New Issue
Block a user