Include meta tags in seperate liquid template
This commit is contained in:
parent
0fd9ae311a
commit
a45f33cb98
|
@ -0,0 +1,14 @@
|
|||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<link rel="alternate" title="Main RSS Feed" type="application/rss+xml" href="/rss.xml">
|
||||
|
||||
<!-- preview metadata -->
|
||||
<meta property="og:site_name" content="The System"/>
|
||||
<meta property="og:title" content="{{ page.title }}"/>
|
||||
<meta name="description" content="Worst website on the net"/>
|
||||
<meta property="og:description" content="Worst website on the net">
|
||||
<meta property="og:image" content="https://the-system.eu.org/assets/logo.svg"/>.
|
||||
|
||||
<link rel="icon" href="/assets/logo.svg">
|
||||
<title>The System | {{ page.title }}</title>
|
|
@ -1,20 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<link rel="alternate" title="Main RSS Feed" type="application/rss+xml" href="/rss.xml">
|
||||
|
||||
<link rel="icon" href="/assets/logo.svg">
|
||||
<title>{{ page.title }}</title>
|
||||
{% include "meta.liquid" %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{% include "navigation.liquid" %}
|
||||
<div class="section">
|
||||
<div class="inner-section">
|
||||
<main>
|
||||
{{ page.content }}
|
||||
{% for post in collections.posts.pages %}
|
||||
<article>
|
||||
<h3>
|
||||
<span><a href="/{{post.permalink}}">🔗</a></span>
|
||||
{{ post.title }}
|
||||
|
@ -26,7 +23,9 @@
|
|||
{{category}},
|
||||
{% endfor %}
|
||||
</i></p>
|
||||
</article>
|
||||
{% endfor %}
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
{% include "footer.liquid" %}
|
||||
|
|
|
@ -1,19 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
<link rel="alternate" title="Main RSS Feed" type="application/rss+xml" href="/rss.xml">
|
||||
{% include "meta.liquid" %}
|
||||
</head>
|
||||
|
||||
<link rel="icon" href="/assets/logo.svg">
|
||||
<title>{{ page.title }}</title>
|
||||
</head>
|
||||
<body>
|
||||
{% include "navigation.liquid" %}
|
||||
<div class="section">
|
||||
<div class="inner-section">
|
||||
{{ page.content }}
|
||||
<main>
|
||||
{{ page.content }}
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
{% include "footer.liquid" %}
|
||||
|
|
Loading…
Reference in New Issue