summaryrefslogtreecommitdiff
path: root/templates/blog-page.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/blog-page.html')
-rw-r--r--templates/blog-page.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/blog-page.html b/templates/blog-page.html
index 6c4afa5..95565e0 100644
--- a/templates/blog-page.html
+++ b/templates/blog-page.html
@@ -1,5 +1,18 @@
{% extends "base.html" %}
+{% block meta_content %}
+ {% if page.title %}
+ <meta property="og:title" content="soaos" />
+ <meta name="description" content="{{ page.title | safe }}" />
+ <meta property="og:description" content="{{ page.title | safe }}" />
+ {% else %}
+ <meta property="og:title" content="soaos" />
+ {% endif %}
+ {% if page.extra.coverimage %}
+ <meta property="og:image" content="{{ current_url | safe }}/{{ page.extra.coverimage | safe }}"/>
+ {% endif %}
+{% endblock meta_content %}
+
{% block content %}
<a href="{{ get_url(path='@/blog/_index.md') }}"> <- back to posts</a>
<h1 class="title">