aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAlban Gruin2017-10-05 22:11:59 +0200
committerAlban Gruin2017-10-05 22:11:59 +0200
commitf6e81c1a165b983316b49bdd433cd12cfebe1897 (patch)
treed638e3cf6335dcab46a415c5cb9c5946ae02dbac /templates
parentae3358c1296a02352409910a9ffcc2307d5ea87a (diff)
parent76e344f68c1616693e93791f55348272cc61267e (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.html1
-rw-r--r--templates/timetable.html7
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 }} &ndash; {% 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 }} &ndash; 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 }} &ndash; {{ group }} &ndash; Semaine {{ week }} &ndash; {% endblock %}
{% block body %}