summaryrefslogtreecommitdiff
path: root/chimere/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/templates/base.html')
-rw-r--r--chimere/templates/base.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/chimere/templates/base.html b/chimere/templates/base.html
index a346878..5d1a67f 100644
--- a/chimere/templates/base.html
+++ b/chimere/templates/base.html
@@ -5,6 +5,22 @@
<title>{% block title %}{{PROJECT_NAME}}{% endblock %}</title>
{% if MOBILE %}<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">{% endif %}
+
+ {% block og %}
+ <meta property="og:title" content="{{PROJECT_NAME}}" />
+ <meta property="og:type" content="article" />
+ {% if current_feature %}
+ <meta property="og:url" content="{{current_site}}{% if tiny %}/ty/{{tiny}}{% endif %}" />
+ {% if current_feature.image %}
+ <meta property="og:image" content="{{current_site}}{{current_feature.image.picture.url}}" />
+ {% endif %}
+ <meta property="og:description"
+ content="{{current_feature.text_description}}" />
+ {% else %}
+ <meta property="og:url" content="{{current_site}}" />
+ {% endif %}
+ {% endblock %}
+
{% block extra_head %}
{% endblock %}
</head>