From 021dfd45a1f666100995a836d23002960ac13e9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Wed, 30 Mar 2022 01:00:57 +0300 Subject: Spaghetti Bolognese and other changes. Now the main photo of each recipe is just `recipe.jpg` so that it easier to access it programatically. Also added OGP meta tags for pretty previews in Telegram and other apps. --- templates/page.html | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'templates/page.html') diff --git a/templates/page.html b/templates/page.html index 9fa9c35..12240b7 100644 --- a/templates/page.html +++ b/templates/page.html @@ -1,4 +1,15 @@ {% extends "base.html" %} +{% block extrahead %} + + + +{% if page.summary %} + +{% endif %} +{% if page.permalink is containing("food") %} + +{% endif %} +{% endblock %} {% block title %} {% if page.permalink is containing("weblog") %} {{ page.title }} - Yaroslav's weblog -- cgit v1.2.3