Pug - это препроцессор HTML и шаблонизатор, который был написан на JavaScript для Node.js.
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
// Перезапишите параметры, поместив их в файл параметров. | |
// Наиболее часто используемые настройки см. по адресу http://go.microsoft.com/fwlink/?LinkId=808995. | |
{ | |
// Редактор | |
// Определяет семейство шрифтов. | |
"editor.fontFamily": "Consolas, 'Courier New', monospace", | |
// Управляет насыщенностью шрифта. |
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
<p>Друг! Если тебе нужно со мной пообщаться, то пиши сразу на почту | |
<code>YorEmail[dog]gmail.com</code>, //ПОМОГАЕТ!!!))) | |
а еще лучше сразу в | |
<a href="https://vk.com/nameORid" rel="nofollow noopener" target="_blank">ВК</a> | |
или <a href="https://tlgg.ru/@ID" rel="nofollow noopener" target="_blank">Telegramm</a>. </p> |
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
/*-----Убираем показ лишней информации----------------------****/ | |
add_filter('login_errors', create_function('$a', "return null;")); | |
remove_action('wp_head', 'wp_generator'); | |
/** | |
* Закрытие страниц пагинации от индексирования | |
*/ | |
/*add_action( 'wpseo_head', 'art_noindex_paged', 0 ); | |
function art_noindex_paged() { |
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
/****1.-----Защита от XSS-инъекций. Доб код в htaccess----------------------****/ | |
Options +FollowSymLinks | |
RewriteEngine On | |
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR] | |
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR] | |
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2}) | |
RewriteRule ^(.*)$ index.php [F,L] | |
/****1.-----END of 1.----------------------****/ | |
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
add_action('wp_default_scripts', function ($scripts) { | |
if (!empty($scripts->registered['jquery'])) { | |
$scripts->registered['jquery']->deps = array_diff($scripts->registered['jquery']->deps, ['jquery-migrate']); | |
} | |
}); |
NewerOlder