diff options
Diffstat (limited to 'templates/page.html')
-rw-r--r-- | templates/page.html | 11 |
1 files changed, 11 insertions, 0 deletions
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 %} +<meta property="og:title" content="{{ page.title }}" /> +<meta property="og:url" content="{{ page.permalink }}" /> +<meta property="og:type" content="article" /> +{% if page.summary %} +<meta property="og:description" content="{{ page.summary }}" /> +{% endif %} +{% if page.permalink is containing("food") %} +<meta property="og:image" content="recipe.jpg" /> +{% endif %} +{% endblock %} {% block title %} {% if page.permalink is containing("weblog") %} {{ page.title }} - Yaroslav's weblog |