From 6c7fe23989997dfa6959562c5d02829f10dc815d Mon Sep 17 00:00:00 2001 From: Tom Gurion Date: Mon, 28 Aug 2017 18:32:58 +0100 Subject: [PATCH] Add metadata description and open graph tags --- templates/article.html | 8 ++++++++ templates/base.html | 12 +++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/templates/article.html b/templates/article.html index ab1d98d..79ba5de 100644 --- a/templates/article.html +++ b/templates/article.html @@ -1,5 +1,13 @@ {% extends "base.html" %} +{% block metadata %} + + + + + +{% endblock %} + {% block content %}

{{ article.title }}

diff --git a/templates/base.html b/templates/base.html index 9eb0292..4c365e8 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,10 +1,20 @@ - + + + {% block metadata %} + + + + + + {% endblock %} + +