move metadata to a metadata file
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
This commit is contained in:
parent
9384ef278e
commit
64842166c1
4 changed files with 29 additions and 26 deletions
|
@ -4,8 +4,5 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="author" href="/humans.txt" />
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="/blog/rss" />
|
||||
<meta name="author" content="Mylloon" />
|
||||
<meta name="description" content="{{page_desc}} " />
|
||||
<meta name="keywords" content="{{page_kw}} " />
|
||||
|
||||
{{>icons.html}}
|
||||
{{>metadata.html}}
|
||||
|
|
|
@ -2,9 +2,8 @@
|
|||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
<link rel="author" href="/humans.txt" />
|
||||
<meta name="author" content="Mylloon" />
|
||||
<meta name="description" content="{{page_desc}} " />
|
||||
|
||||
{{>icons.html}}
|
||||
{{>metadata.html}}
|
||||
|
||||
<link rel="stylesheet" href="/css/style.css" />
|
||||
|
|
|
@ -22,21 +22,3 @@
|
|||
<meta name="msapplication-TileColor" content="#ffffff" />
|
||||
<meta name="msapplication-config" content="/icons/browserconfig.xml" />
|
||||
<meta name="theme-color" content="#2a2424" />
|
||||
|
||||
<!-- Primary Meta Tags -->
|
||||
<meta name="title" content="{{page_title}} " />
|
||||
<meta name="description" content="{{page_desc}} " />
|
||||
|
||||
<!-- Open Graph -->
|
||||
<meta property="og:title" content="{{page_title}} " />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="{{url}} " />
|
||||
<meta property="og:image" content="/icons/apple-touch-icon.png" />
|
||||
<meta property="og:description" content="{{page_desc}} " />
|
||||
<meta name="theme-color" content="#43B581" />
|
||||
|
||||
<!-- Twitter -->
|
||||
<meta property="twitter:url" content="{{url}} " />
|
||||
<meta property="twitter:title" content="{{page_title}} " />
|
||||
<meta property="twitter:description" content="{{page_desc}} " />
|
||||
<meta property="twitter:image" content="/icons/apple-touch-icon.png" />
|
||||
|
|
25
templates/metadata.html
Normal file
25
templates/metadata.html
Normal file
|
@ -0,0 +1,25 @@
|
|||
<!-- Primary Meta Tags -->
|
||||
{{#page_title}}
|
||||
<meta name="title" content="{{page_title}} " />
|
||||
{{/page_title}} {{#page_desc}}
|
||||
<meta name="description" content="{{page_desc}} " />
|
||||
{{/page_desc}} {{#page_kw}}
|
||||
<meta name="keywords" content="{{page_kw}} " />
|
||||
{{/page_kw}}
|
||||
<meta name="author" content="Mylloon" />
|
||||
|
||||
{{>icons.html}}
|
||||
|
||||
<!-- Open Graph -->
|
||||
<meta property="og:title" content="{{page_title}} " />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="{{url}} " />
|
||||
<meta property="og:image" content="/icons/apple-touch-icon.png" />
|
||||
<meta property="og:description" content="{{page_desc}} " />
|
||||
<meta name="theme-color" content="#43B581" />
|
||||
|
||||
<!-- Twitter -->
|
||||
<meta property="twitter:url" content="{{url}} " />
|
||||
<meta property="twitter:title" content="{{page_title}} " />
|
||||
<meta property="twitter:description" content="{{page_desc}} " />
|
||||
<meta property="twitter:image" content="/icons/apple-touch-icon.png" />
|
Loading…
Reference in a new issue