aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorsoaos <soaos@soaos.dev>2026-01-29 22:47:59 -0500
committersoaos <soaos@soaos.dev>2026-01-29 22:47:59 -0500
commit328cfb85c4698f53c2fcf6b7b3e15bd469b654b3 (patch)
tree9afe2e77d2b1ce4b9798a3a61157f7fe965ffef1 /templates
parent96b0c561c07547939e1094737e7b7e647c2db1dd (diff)
Blog post meta tagsHEADmaster
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html1
-rw-r--r--templates/blog.html5
-rw-r--r--templates/post.html15
3 files changed, 17 insertions, 4 deletions
diff --git a/templates/base.html b/templates/base.html
index b61eea1..2902d19 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -15,6 +15,7 @@
<link rel="stylesheet" href="/98.css" />
<link rel="stylesheet" href="/style.css" />
<meta charset="UTF-8" />
+ {% block headcontent %} {% endblock headcontent %}
</head>
<body>
<header>
diff --git a/templates/blog.html b/templates/blog.html
index ff44e08..e454299 100644
--- a/templates/blog.html
+++ b/templates/blog.html
@@ -1,4 +1,5 @@
-{% extends "base.html" %} {% block content %}
+{% extends "base.html" %}
+{% block content %}
<div class="window">
<div class="title-bar">
<div class="title-bar-text">📖 Blog</div>
@@ -33,4 +34,4 @@
</div>
</div>
</div>
-{% endblock content %}
+{% endblock content %} \ No newline at end of file
diff --git a/templates/post.html b/templates/post.html
index 794c715..ae884d5 100644
--- a/templates/post.html
+++ b/templates/post.html
@@ -1,5 +1,16 @@
-{% extends "base.html" %} {% block content %}
-
+{% extends "base.html" %}
+{% block headcontent %}
+<meta property="og:title" content="{{page.title}}" />
+<meta property="og:description" content="{{page.description}}" />
+<meta property="og:type" content="website" />
+<meta property="og:url" content="{{page.permalink}}" />
+<meta property="og:image" content="https://seccdn.libravatar.org/avatar/60676663f4ef6962ce3619df033ff144?s=128&d=identicon" />
+<meta property="og:image:width" content="128" />
+<meta property="og:image:height" content="128" />
+<meta name="theme-color" content="#a7c080" />
+<meta name="twitter:card" content="summary_large_image" />
+{% endblock headcontent %}
+{% block content %}
<div class="window">
<div class="title-bar">
<b>📰 Post: {{ page.title }}</b>