From 3b09af8972fcc163639f81ec7ad325dca155c26e Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sat, 28 Nov 2020 20:14:26 +0100 Subject: [PATCH] Fix open graph image --- articles/templates/articles/base.html | 2 +- blog/settings.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/articles/templates/articles/base.html b/articles/templates/articles/base.html index 5dda22c..46ac1ca 100644 --- a/articles/templates/articles/base.html +++ b/articles/templates/articles/base.html @@ -13,7 +13,7 @@ {% endif %} {% if open_graph_image %} - + {% endif %} {% block title %}Home | {% endblock %}Gab's Notes diff --git a/blog/settings.py b/blog/settings.py index d3b1625..2595b52 100644 --- a/blog/settings.py +++ b/blog/settings.py @@ -101,6 +101,7 @@ TEMPLATES = [ "articles.context_processors.date_format", "articles.context_processors.git_version", "articles.context_processors.plausible", + "articles.context_processors.open_graph_image", ], }, },