Skip to content

Commit

Permalink
Move common head tags to head-common.html
Browse files Browse the repository at this point in the history
  • Loading branch information
asatarin committed Jul 28, 2024
1 parent 53b03bc commit 3192066
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
12 changes: 12 additions & 0 deletions _includes/head-common.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#3669B2">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700">
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
<link rel="alternate" type="application/rss+xml" href="/feed.xml">
<link rel="license" href=" {{ '/LICENSE.txt' | relative_url }} " />
<link rel="me" href="https://www.linkedin.com/in/asatarin/">
<link rel="me" href="https://twitter.com/asatarin">
<link rel="me" href="https://discuss.systems/@asatarin">
<link rel="me" href="https://github.com/asatarin/">
11 changes: 2 additions & 9 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,8 @@
<html lang="{{ site.lang }}">
<head>
<meta charset="UTF-8">

{% seo %}
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#157878">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700">
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
<link rel="license" href=" {{ '/LICENSE.txt' | relative_url }} " />
{% seo %}
{% include head-common.html %}
</head>
<body>
<a id="skip-to-content" href="#content">Skip to the content.</a>
Expand Down

0 comments on commit 3192066

Please sign in to comment.