Add preconnect and preload (#805)
* Add preconnect and preload * Fix whitespace control
This commit is contained in:
Родитель
ea4913b6ba
Коммит
374b99342a
|
@ -2,8 +2,17 @@
|
|||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>{{ seo.title | escape }}</title>
|
||||
|
||||
<link rel="preload" href="/assets/fonts/icomoon/fonts/icomoon.woff2">
|
||||
<link rel="preload" href="/assets/fonts/inter/Inter-Regular.woff2">
|
||||
<link rel="preload" href="/assets/fonts/inter/Inter-SemiBold.woff2">
|
||||
|
||||
{%- if siteEnv == 'production' and site.google_analytics -%}
|
||||
<link rel="preconnect" href="https://www.google-analytics.com">
|
||||
{%- endif %}
|
||||
<link rel="preconnect" href="https://s.ytimg.com">
|
||||
|
||||
<link rel="canonical" href="{{ seo.canonicalURL | escape }}" />
|
||||
<meta name="description" content="{{ seo.description | escape }}" />
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче