Last active
April 27, 2021 10:18
-
-
Save Feiron/d2672d1ddb5a6c7b67e6378186e6236e to your computer and use it in GitHub Desktop.
[Добавляем скрипты] #bitrix
This file contains 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
<?php | |
use Bitrix\Main\Page\Asset; | |
Asset::getInstance()->addJs(SITE_TEMPLATE_PATH . "/js/fix.js"); | |
Asset::getInstance()->addCss(SITE_TEMPLATE_PATH . "/styles/fix.css"); | |
Asset::getInstance()->addString("<link href='http://fonts.googleapis.com/css?family=PT+Sans:400&subset=cyrillic' rel='stylesheet' type='text/css'>"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment