Create head.html

This commit is contained in:
NC 2023-02-12 10:54:47 +08:00 committed by GitHub
parent 4180bff23c
commit 85ed0a1bd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

14
_includes/head.html Normal file
View File

@ -0,0 +1,14 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
{%- seo -%}
<link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
{%- feed_meta -%}
{%- if jekyll.environment == 'production' and site.google_analytics -%}
{%- include google-analytics.html -%}
{%- endif -%}
{%- include custom-head.html -%}
</head>