diff options
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/head.html | 13 | ||||
-rw-r--r-- | _includes/opengraph.html | 4 | ||||
-rw-r--r-- | _includes/tags.html | 6 | ||||
-rw-r--r-- | _includes/title.html | 1 |
4 files changed, 24 insertions, 0 deletions
diff --git a/_includes/head.html b/_includes/head.html new file mode 100644 index 0000000..09ade8d --- /dev/null +++ b/_includes/head.html @@ -0,0 +1,13 @@ +<meta charset="UTF-8"> +<meta name="viewport" content="width=device-width, initial-scale=1.0"> +<link rel="stylesheet" href="/css/button.css"> +<link rel="stylesheet" href="/css/card.css"> +<link rel="stylesheet" href="/css/code.css"> +<link rel="stylesheet" href="/css/globals.css"> +<link rel="stylesheet" href="/css/image.css"> +<link rel="stylesheet" href="/css/layout.css"> +<link rel="stylesheet" href="/css/navbar.css"> +<link rel="stylesheet" href="/css/print.css"> +<link rel="stylesheet" href="/css/search.css"> +<link rel="stylesheet" href="/css/tags.css"> +<link rel="stylesheet" href="/css/theme.css"> diff --git a/_includes/opengraph.html b/_includes/opengraph.html new file mode 100644 index 0000000..7cb9517 --- /dev/null +++ b/_includes/opengraph.html @@ -0,0 +1,4 @@ +<meta property='og:site_name' content='{{ page.date }}' /> +<meta property='og:title' content='{{ page.title }}' /> +<meta property='og:description' content='{{ page.subtitle }}' /> +<meta property="og:image" content='{{ page.cover }}' /> diff --git a/_includes/tags.html b/_includes/tags.html new file mode 100644 index 0000000..c392d3a --- /dev/null +++ b/_includes/tags.html @@ -0,0 +1,6 @@ +<div class="tags"> + <span>Tags:</span> + {% for tag in include.tags %} + <a class="tag" href="/search?q={{ tag }}" style="--tag-hue: {{ tag | to_tag_color }};">{{ tag }}</a> + {% endfor %} +</div> diff --git a/_includes/title.html b/_includes/title.html new file mode 100644 index 0000000..40efd39 --- /dev/null +++ b/_includes/title.html @@ -0,0 +1 @@ +<title>{{ page.title }} - {{ site.title }}</title> |