aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--static/style.css1
-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
5 files changed, 6 insertions, 3 deletions
diff --git a/static/style.css b/static/style.css
index 25a88a4..3767512 100644
--- a/static/style.css
+++ b/static/style.css
@@ -99,6 +99,7 @@ ul.article-list li {
99 99
100ul.article-list time { 100ul.article-list time {
101 display: block; 101 display: block;
102 font-size: 85%;
102} 103}
103 104
104ul.article-list li a { 105ul.article-list li a {
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 }}">