mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Remove support for targetie attribute on assets
This commit is contained in:
parent
d34d08438f
commit
9e9adcdb43
8 changed files with 95 additions and 193 deletions
|
|
@ -17,16 +17,12 @@
|
|||
|
||||
<!-- CSS -->
|
||||
<block loop="Context::getCssFile(true) => $key, $css_file">
|
||||
<block cond="$css_file['targetie']"><!--[if {$css_file['targetie']}]><block cond="stripos($css_file['targetie'], 'gt') === 0"><!--></block></block>
|
||||
<link rel="stylesheet" href="{$css_file['file']}" media="{$css_file['media']}"|cond="$css_file['media'] != 'all'" />
|
||||
<block cond="$css_file['targetie']"><block cond="stripos($css_file['targetie'], 'gt') === 0"><!--</block><![endif]-->{"\n"}</block>
|
||||
</block>
|
||||
|
||||
<!-- JS -->
|
||||
<block loop="Context::getJsFile('head', true) => $key, $js_file">
|
||||
<block cond="$js_file['targetie']"><!--[if {$js_file['targetie']}]><block cond="stripos($js_file['targetie'], 'gt') === 0"><!--></block></block>
|
||||
<script src="{$js_file['file']}"></script>
|
||||
<block cond="$js_file['targetie']"><block cond="stripos($js_file['targetie'], 'gt') === 0"><!--</block><![endif]-->{"\n"}</block>
|
||||
</block>
|
||||
|
||||
<!-- RSS -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue