From d23479efddb303591bd79f00c5578327c8a4f8b8 Mon Sep 17 00:00:00 2001 From: navanchauhan Date: Mon, 28 Jun 2021 16:30:01 +0530 Subject: adding description to link previews --- templates/post.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'templates/post.html') 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 %}
-- cgit v1.2.3