Created
June 7, 2021 13:30
-
-
Save vasilcov77/b949f992d48726293ac95a2c952e587c to your computer and use it in GitHub Desktop.
Link script, string and css
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
use Bitrix\Main\Page\Asset; | |
Asset::getInstance()->addString('<meta http-equiv="X-UA-Compatible" content="ie=edge">'); | |
Asset::getInstance()->addCss(SITE_TEMPLATE_PATH . '/css/main.css'); | |
Asset::getInstance()->addJs(SITE_TEMPLATE_PATH . '/js/lazyload.js'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment