From 91318cc6827344e9a19cc60cd5dc3d79ff5b779f Mon Sep 17 00:00:00 2001 From: Jeremy Wagner Date: Tue, 23 Jun 2020 02:41:33 -0500 Subject: [PATCH] Added preconnect/dns-prefetch hints for Typekit CSS resources. (#243) --- 11ty/_includes/layouts/base.njk | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/11ty/_includes/layouts/base.njk b/11ty/_includes/layouts/base.njk index 36b1d632..d4d25e52 100644 --- a/11ty/_includes/layouts/base.njk +++ b/11ty/_includes/layouts/base.njk @@ -3,7 +3,10 @@ - + + + + {# 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 '' %} {{ pageTitle + metadata.title }} @@ -11,9 +14,9 @@ name="description" content="{{ renderData.description or description or metadata.description }}" > - + - + {% block pageStyles %} {% endblock pageStyles %}