summaryrefslogtreecommitdiff
path: root/templates/post.html
diff options
context:
space:
mode:
authornavanchauhan <navanchauhan@gmail.com>2021-06-28 16:30:01 +0530
committernavanchauhan <navanchauhan@gmail.com>2021-06-28 16:30:01 +0530
commit6326f09099554ce67f2a3b9a2f84d88281927339 (patch)
treeb8f3fa9b647828f12bf781f7724c807c814a2424 /templates/post.html
parentabef4c620cb5047386e1073f3e1f966268d07e97 (diff)
adding description to link previews
Diffstat (limited to 'templates/post.html')
-rw-r--r--templates/post.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/templates/post.html b/templates/post.html
index 596ded2..fd3bd4c 100644
--- a/templates/post.html
+++ b/templates/post.html
@@ -1,5 +1,13 @@
{% extends "base.html" %}
-{% block title %}Post{% endblock %}
+
+{% block title %}Post - {{content.metadata.title}}{% endblock %}
+{% block ogtitle %}Post - {{content.metadata.title}}{% endblock %}
+{% block twittertitle %}Post - {{content.metadata.title}}{% endblock %}
+
+{% block description %} {{content.metadata.description}} {% endblock %}
+{% block ogdescription %} {{content.metadata.description}} {% endblock %}
+{% block twitterdescription %} {{content.metadata.description}} {% endblock %}
+{% block twitter2description %} {{content.metadata.description}} {% endblock %}
{% block body %}
<main>