aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/index.twig2
-rw-r--r--templates/page.twig2
-rw-r--r--templates/partials/preconnect.twig2
-rw-r--r--templates/post.twig2
4 files changed, 5 insertions, 3 deletions
diff --git a/templates/index.twig b/templates/index.twig
index b7916cf..35eca89 100644
--- a/templates/index.twig
+++ b/templates/index.twig
@@ -10,7 +10,7 @@
10 <meta name="theme-color" content="#ffffff"> 10 <meta name="theme-color" content="#ffffff">
11 <meta name="generator" content="https://github.com/mitjafelicijan/staticgen"> 11 <meta name="generator" content="https://github.com/mitjafelicijan/staticgen">
12 12
13 <link rel="preconnect" href="https://www.google-analytics.com"> 13 {% include "partials/preconnect.twig" %}
14 14
15 <title>{{ global.title }}</title> 15 <title>{{ global.title }}</title>
16 <meta name="author" content="{{ global.author }}"> 16 <meta name="author" content="{{ global.author }}">
diff --git a/templates/page.twig b/templates/page.twig
index 128e321..9e8773e 100644
--- a/templates/page.twig
+++ b/templates/page.twig
@@ -10,7 +10,7 @@
10 <meta name="theme-color" content="#ffffff"> 10 <meta name="theme-color" content="#ffffff">
11 <meta name="generator" content="https://github.com/mitjafelicijan/staticgen"> 11 <meta name="generator" content="https://github.com/mitjafelicijan/staticgen">
12 12
13 <link rel="preconnect" href="https://www.google-analytics.com"> 13 {% include "partials/preconnect.twig" %}
14 14
15 <title>{{ options.title }}</title> 15 <title>{{ options.title }}</title>
16 <meta name="author" content="{{ global.author }}"> 16 <meta name="author" content="{{ global.author }}">
diff --git a/templates/partials/preconnect.twig b/templates/partials/preconnect.twig
new file mode 100644
index 0000000..800053e
--- /dev/null
+++ b/templates/partials/preconnect.twig
@@ -0,0 +1,2 @@
1<link rel="preconnect" href="https://www.google-analytics.com">
2<link rel="preconnect" href="https://stats.g.doubleclick.net">
diff --git a/templates/post.twig b/templates/post.twig
index fbcb8d6..e7d01bd 100644
--- a/templates/post.twig
+++ b/templates/post.twig
@@ -10,7 +10,7 @@
10 <meta name="theme-color" content="#ffffff"> 10 <meta name="theme-color" content="#ffffff">
11 <meta name="generator" content="https://github.com/mitjafelicijan/staticgen"> 11 <meta name="generator" content="https://github.com/mitjafelicijan/staticgen">
12 12
13 <link rel="preconnect" href="https://www.google-analytics.com"> 13 {% include "partials/preconnect.twig" %}
14 14
15 <title>{{ options.title }}</title> 15 <title>{{ options.title }}</title>
16 <meta name="author" content="{{ global.author }}"> 16 <meta name="author" content="{{ global.author }}">