summaryrefslogtreecommitdiff
path: root/templates/post.html
diff options
context:
space:
mode:
authornavanchauhan <navanchauhan@gmail.com>2022-12-30 18:58:30 -0500
committernavanchauhan <navanchauhan@gmail.com>2022-12-30 18:58:30 -0500
commitb6e8cbd0b4980a4ef6e4e1e1cd2df66ef8812e04 (patch)
treead9093751ff5bda97953e26d5bbec726b4684d05 /templates/post.html
parentc5f54cb65d98de3572e5536d3a20879111b69081 (diff)
add support for custom og images
Diffstat (limited to 'templates/post.html')
-rw-r--r--templates/post.html5
1 files changed, 2 insertions, 3 deletions
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 %}
<main>
@@ -19,8 +21,5 @@
<section id="isso-thread">
<noscript>Javascript needs to be activated to view comments.</noscript>
</section>
- <!--<div class="commentbox"></div>
- <script src="https://unpkg.com/commentbox.io/dist/commentBox.min.js"></script>
- <script>commentBox('5650347917836288-proj')</script>-->
</main>
{% endblock %}