Fix open graph image
This commit is contained in:
parent
bd76050940
commit
3b09af8972
2 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
<meta property="og:title" content="{{ article.title }}" />
|
||||
{% endif %}
|
||||
{% if open_graph_image %}
|
||||
<meta name="og:image" content="{{ open_graph_image.processed_file.url }}">
|
||||
<meta property="og:image" content="{{ open_graph_image.processed_file.url }}">
|
||||
{% endif %}
|
||||
<title>{% block title %}Home | {% endblock %}Gab's Notes</title>
|
||||
<link rel="stylesheet" id="code-light" href="{% static 'code-light.css' %}" type="text/css">
|
||||
|
|
|
@ -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",
|
||||
],
|
||||
},
|
||||
},
|
||||
|
|
Reference in a new issue