From 67077267cf51ea9853496db1b7ff40bc5211c41b Mon Sep 17 00:00:00 2001 From: Baptiste Gelez Date: Wed, 31 Oct 2018 16:10:50 +0100 Subject: [PATCH] Add OpenGraph metadata --- templates/base.html.tera | 1 + templates/posts/details.html.tera | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/templates/base.html.tera b/templates/base.html.tera index 8633f8a5..d70c55d1 100644 --- a/templates/base.html.tera +++ b/templates/base.html.tera @@ -10,6 +10,7 @@ + {% block head %}{% endblock head %}
diff --git a/templates/posts/details.html.tera b/templates/posts/details.html.tera index 732ea4ad..b2e231f5 100644 --- a/templates/posts/details.html.tera +++ b/templates/posts/details.html.tera @@ -1,6 +1,18 @@ {% extends "base" %} {% import "macros" as macros %} +{% block head %} + + + {% if article.cover %} + + {% endif %} + + {% if article.post.subtitle %} + + {% endif %} +{% endblock head %} + {% block title %} {{ article.post.title }} {% endblock title %}