diff options
author | Alban Gruin | 2017-10-05 22:11:59 +0200 |
---|---|---|
committer | Alban Gruin | 2017-10-05 22:11:59 +0200 |
commit | f6e81c1a165b983316b49bdd433cd12cfebe1897 (patch) | |
tree | d638e3cf6335dcab46a415c5cb9c5946ae02dbac /templates | |
parent | ae3358c1296a02352409910a9ffcc2307d5ea87a (diff) | |
parent | 76e344f68c1616693e93791f55348272cc61267e (diff) |
Merge branch 'stable/0.10.z' into prod/pa1ch/0.10.zv0.10.1-pa1ch
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.html | 1 | ||||
-rw-r--r-- | templates/timetable.html | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html index 43c567e..5c0f618 100644 --- a/templates/index.html +++ b/templates/index.html @@ -3,6 +3,7 @@ <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> +{% block head %}{% endblock %} <title>{% block title %}{% if year %}{{ year }} – {% endif %}{% endblock %}celcatsanitizer</title> <link rel="stylesheet" href="{% static "celcatsanitizer/style.css" %}"> </head> diff --git a/templates/timetable.html b/templates/timetable.html index 9143c2f..4ab6a1a 100644 --- a/templates/timetable.html +++ b/templates/timetable.html @@ -1,5 +1,12 @@ {% extends "index.html" %} +{% block head %} + <meta name="description" content="Emploi du temps du groupe {{ group }} – Semaine {{ week }}" /> + <link rel="alternate" type="application/atom+xml" title="Emploi du temps du groupe {{ group }} (Atom)" href="{% url "atom" group.timetable.year.slug group.timetable.slug group.slug %}" /> + <link rel="alternate" type="application/rss+xml" title="Emploi du temps du groupe {{ group }} (RSS)" href="{% url "rss" group.timetable.year.slug group.timetable.slug group.slug %}" /> + <link rel="alternate" type="text/calendar" title="Emploi du temps du groupe {{ group }} (iCalendar)" href="{% url "ics" group.timetable.year.slug group.timetable.slug group.slug %}"> +{% endblock %} + {% block title %}{{ group.timetable }} – {{ group }} – Semaine {{ week }} – {% endblock %} {% block body %} |