Skip to content

Commit 334297b

Browse files
committed
site: preconnect to https://api.github.com in index
1 parent 1dc21a1 commit 334297b

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

site/src/_includes/layouts/head.njk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
<meta name="description" content="{{ description }}">
66
<meta name="generator" content="{{ eleventy.generator }}">
77

8+
{{ extra_head | safe }}
9+
810
{% include "layouts/favicons.njk" -%}
911
{% include "layouts/social.njk" -%}
1012

site/src/index.njk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ description: Faster subsequent page-loads by prefetching in-viewport links durin
55
eleventyNavigation:
66
key: Home
77
order: 0
8+
extra_head: <link rel="dns-preconnect" href="https://api.github.com">
89
---
910

1011
{% include "components/heading.njk" %}

0 commit comments

Comments
 (0)