Skip to content

Commit 3192066

Browse files
committed
Move common head tags to head-common.html
1 parent 53b03bc commit 3192066

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

_includes/head-common.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<meta name="viewport" content="width=device-width, initial-scale=1">
2+
<meta name="theme-color" content="#3669B2">
3+
<link rel="preconnect" href="https://fonts.googleapis.com">
4+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
5+
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700">
6+
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
7+
<link rel="alternate" type="application/rss+xml" href="/feed.xml">
8+
<link rel="license" href=" {{ '/LICENSE.txt' | relative_url }} " />
9+
<link rel="me" href="https://www.linkedin.com/in/asatarin/">
10+
<link rel="me" href="https://twitter.com/asatarin">
11+
<link rel="me" href="https://discuss.systems/@asatarin">
12+
<link rel="me" href="https://github.com/asatarin/">

_layouts/default.html

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,8 @@
22
<html lang="{{ site.lang }}">
33
<head>
44
<meta charset="UTF-8">
5-
6-
{% seo %}
7-
<meta name="viewport" content="width=device-width, initial-scale=1">
8-
<meta name="theme-color" content="#157878">
9-
<link rel="preconnect" href="https://fonts.googleapis.com">
10-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
11-
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700">
12-
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
13-
<link rel="license" href=" {{ '/LICENSE.txt' | relative_url }} " />
5+
{% seo %}
6+
{% include head-common.html %}
147
</head>
158
<body>
169
<a id="skip-to-content" href="#content">Skip to the content.</a>

0 commit comments

Comments
 (0)