From b6e8cbd0b4980a4ef6e4e1e1cd2df66ef8812e04 Mon Sep 17 00:00:00 2001 From: navanchauhan Date: Fri, 30 Dec 2022 18:58:30 -0500 Subject: add support for custom og images --- templates/post.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'templates/post.html') diff --git a/templates/post.html b/templates/post.html index 0a66046..f229d70 100644 --- a/templates/post.html +++ b/templates/post.html @@ -8,6 +8,8 @@ {% block ogdescription %}{{content.metadata.description}}{% endblock %} {% block twitterdescription %}{{content.metadata.description}}{% endblock %} {% block twitter2description %}summary_large_image{% endblock %} +{% block ogimage %}{{content.metadata.image_link}}{% endblock %} +{% block twimage %}{{content.metadata.image_link}}{% endblock %} {% block body %}
@@ -19,8 +21,5 @@
-
{% endblock %} -- cgit v1.2.3