Skip to content

Commit

Permalink
site: preconnect to https://api.github.com in index
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed May 9, 2024
1 parent 2de4b0e commit 9a70fef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions site/src/_includes/layouts/head.njk
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
<meta name="description" content="{{ description }}">
<meta name="generator" content="{{ eleventy.generator }}">

{{ extra_head | safe }}

{% include "layouts/favicons.njk" -%}
{% include "layouts/social.njk" -%}

Expand Down
1 change: 1 addition & 0 deletions site/src/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ description: Faster subsequent page-loads by prefetching in-viewport links durin
eleventyNavigation:
key: Home
order: 0
extra_head: <link rel="dns-preconnect" href="https://api.github.com">
---

{% include "components/heading.njk" %}
Expand Down

0 comments on commit 9a70fef

Please sign in to comment.