mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-01-22 17:30:00 +00:00
Added preconnect/dns-prefetch hints for Typekit CSS resources. (#243)
This commit is contained in:
parent
994168f340
commit
91318cc682
@ -3,7 +3,10 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<link rel="preconnect" href="https://use.typekit.net/" crossorigin>
|
||||
<link rel="dns-prefetch" href="https://use.typekit.net/">
|
||||
<link rel="preconnect" href="https://p.typekit.net/" crossorigin>
|
||||
<link rel="dns-prefetch" href="https://p.typekit.net/">
|
||||
{# Use title with path, or append a space to the page title to avoid collpasing with the meta title #}
|
||||
{% set pageTitle = titleWithPath or title + ' ' or '' %}
|
||||
<title>{{ pageTitle + metadata.title }}</title>
|
||||
@ -11,9 +14,9 @@
|
||||
name="description"
|
||||
content="{{ renderData.description or description or metadata.description }}"
|
||||
>
|
||||
<link rel="stylesheet" href="https://use.typekit.net/qlo3dpu.css" rel="preload"/>
|
||||
<link rel="stylesheet" href="https://use.typekit.net/qlo3dpu.css">
|
||||
<link rel="stylesheet" href="{{ '/assets/css/base.css' | url }}">
|
||||
<link rel="alternate" type="application/atom+xml" href="{{ metadata.feedPermalink | absoluteUrl(metadata.url) }}"/>
|
||||
<link rel="alternate" type="application/atom+xml" href="{{ metadata.feedPermalink | absoluteUrl(metadata.url) }}">
|
||||
{% block pageStyles %}
|
||||
{% endblock pageStyles %}
|
||||
</head>
|
||||
|
Loading…
x
Reference in New Issue
Block a user