Commits

Horst Gutmann  committed d05e23a

Fills title and description meta-tags from session information

  • Participants
  • Parent commits ea3018b

Comments (0)

Files changed (1)

File pyconde/templates/schedule/session.html

 {% extends "site_base.html" %}
 {% load i18n markup speaker_tags %}
 {% block title %}{% trans "session" %}: {{ session.title }}{% endblock %}
+{% block og_title %}{% trans "session" %}: {{ session.title }}{% endblock %}
+{% block og_description %}{{ session.abstract|truncatewords:100 }}{% endblock %}
+{% block meta_description %}{{ session.abstract|truncatewords:100 }}{% endblock %}
 {% block bodycls %}sessionpage{% endblock %}
 {% block body %}
 <article class="session">