From 4516f41a03b74f8637ccab81557e41f0a50b40f8 Mon Sep 17 00:00:00 2001 From: vas3k Date: Mon, 20 Jan 2020 15:00:09 +0100 Subject: [PATCH] Fix broken og tags --- templates/board.html | 2 +- templates/common/meta.html | 16 ---------------- templates/common/og.html | 13 +++++++++++++ templates/layout.html | 3 +++ 4 files changed, 17 insertions(+), 17 deletions(-) create mode 100644 templates/common/og.html diff --git a/templates/board.html b/templates/board.html index e0f5cd6..4f95c6f 100644 --- a/templates/board.html +++ b/templates/board.html @@ -4,7 +4,7 @@ {% block title %}{{ board.curator_name }} | {{ board.curator_title }} | {{ block.super }}{% endblock %} -{% block meta_og %} +{% block og_tags %} diff --git a/templates/common/meta.html b/templates/common/meta.html index bd0ca9c..ba9aac4 100644 --- a/templates/common/meta.html +++ b/templates/common/meta.html @@ -1,20 +1,4 @@ -{% load static %} - -{% block meta_og %} - - - - - - - - - - - - -{% endblock %} diff --git a/templates/common/og.html b/templates/common/og.html new file mode 100644 index 0000000..48b2402 --- /dev/null +++ b/templates/common/og.html @@ -0,0 +1,13 @@ +{% load static %} + + + + + + + + + + + + diff --git a/templates/layout.html b/templates/layout.html index 92fe586..a0ea209 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -12,6 +12,9 @@ {% block meta %} {% include "common/meta.html" %} {% endblock %} + {% block og_tags %} + {% include "common/og.html" %} + {% endblock %} {% include "common/favicon.html" %} {% include "common/css.html" %}