mirror of
https://github.com/Kaisaan/kaisaan.github.io.git
synced 2025-06-18 08:45:38 -04:00
Try added meta embeds
This commit is contained in:
parent
92ec76a73e
commit
c56c670d8c
8
_includes/head.html
Normal file
8
_includes/head.html
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
||||||
|
<title>{{ page.title }} | KYS</title>
|
||||||
|
|
||||||
|
<link rel="stylesheet" type="text/css" href="/css/style.css">
|
||||||
|
|
||||||
|
{% include seo.html %}
|
16
_includes/seo.html
Normal file
16
_includes/seo.html
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<link rel="canonical" href="{{ page.url | absolute_url | remove: "index.html" | remove: ".html" }}" />
|
||||||
|
<meta name="description" content="{{ page.description | default: site.data[page.collection].strings.description | escape }}" />
|
||||||
|
<meta property="og:title" content="{{ page.long_title | default: page.title | default: site.data[page.collection].strings.title | escape }}" />
|
||||||
|
<meta property="og:locale" content="{{ page.collection | default: "en_US"}}" />
|
||||||
|
<meta property="og:url" content="{{ page.url | absolute_url | remove: "index.html" | remove: ".html" }}" />
|
||||||
|
<meta property="og:site_name" content="{{ site.data[page.collection].strings.title | escape }}" />
|
||||||
|
<meta property="og:image" content="{{ page.image | default: site.image }}">
|
||||||
|
<meta property="og:description" content="{{ page.description | default: site.data[page.collection].strings.description | escape }}" />
|
||||||
|
<meta name="twitter:card" content="summary">
|
||||||
|
<meta name="twitter:title" content="{{ page.long_title | default: page.title | default: site.data[page.collection].strings.title | escape }}">
|
||||||
|
<meta name="twitter:description" content="{{ page.description | default: site.data[page.collection].strings.description | escape }}">
|
||||||
|
<meta name="twitter:image" content="{{ page.image | default: site.image }}">
|
||||||
|
<meta name="theme-color" content="{{ page.color | default: site.color }}"/>
|
||||||
|
<meta name="msapplication-navbutton-color" content="{{ page.color | default: site.color }}">
|
||||||
|
<meta name="twitter:widgets:link-color" content="{{ page.color | default: site.color }}">
|
||||||
|
<meta name="twitter:widgets:border-color" content="{{ page.color | default: site.color }}">
|
@ -1,9 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
{% include head.html %}
|
||||||
<title>{{ page.title }} | KYS</title>
|
|
||||||
<link rel="stylesheet" type="text/css" href="/css/style.css">
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{% include nav.html %}
|
{% include nav.html %}
|
||||||
|
Loading…
Reference in New Issue
Block a user