Created
July 25, 2017 09:33
-
-
Save teknosains/cc97a49d3d5e00db41aaa9a7a3962017 to your computer and use it in GitHub Desktop.
injecting css to header
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--Load above the fold css--> | |
<style><?php $this->view('layouts/css');?></style> | |
<!--Have additional CSS? load here --> | |
<?php if (isset($css)) { foreach($css as $cx) { ?> | |
<link rel="stylesheet" href="<?php echo resource_url($cx);?>"> | |
<?php } }?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment