avoid extra scripts on all pages

This commit is contained in:
Ivan Blinkov 2021-09-20 00:10:13 +03:00
parent 120957d3ad
commit 3fd5d675af
6 changed files with 8 additions and 6 deletions

View File

@ -5,6 +5,7 @@
{% extends "templates/base.html" %}
{% block extra_meta %}
{% include "templates/common_fonts.html" %}
{% endblock %}
{% block nav %}

View File

@ -5,6 +5,7 @@
{% extends "templates/base.html" %}
{% block extra_meta %}
{% include "templates/common_fonts.html" %}
<script type="application/ld+json">{
"@context": "https://schema.org",
"@type": "SoftwareApplication",

View File

@ -1,6 +1,3 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;500;600;700&family=Noto+Sans:wght@400;700&display=swap" rel="stylesheet">
<link href="/css/base.css?css_digest" media="all" rel="stylesheet" />
{% for src in extra_css %}

View File

@ -0,0 +1,3 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;500;600;700&family=Noto+Sans:wght@400;700&display=swap" rel="stylesheet">

View File

@ -7,6 +7,3 @@
<noscript>
<div><img src="https://mc.yandex.ru/watch/18343495" alt="Yandex"/></div>
</noscript>
<!-- Place this tag in your head or just before your close body tag. -->
<script async defer src="https://buttons.github.io/buttons.js"></script>

View File

@ -5,6 +5,7 @@
{% extends "templates/base.html" %}
{% block extra_meta %}
{% include "templates/common_fonts.html" %}
{% endblock %}
{% block nav %}
@ -20,4 +21,6 @@
{% include "templates/global/newsletter.html" %}
<script async defer src="https://buttons.github.io/buttons.js"></script>
{% endblock %}