]> git.0d.be Git - chloro.git/blobdiff - chloro/phyll/templates/phyll/base.html
add atom feeds (with legacy compatibility)
[chloro.git] / chloro / phyll / templates / phyll / base.html
index 57969453c04308c585d885b22e47e87fab76d9dc..de553ab47a7d01823bdc3bace5ccceadfaaf1409 100644 (file)
@@ -5,12 +5,18 @@
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <title>Coin web de Frédéric Péters</title>
     <link rel="stylesheet" type="text/css" href="/static/css/style.css">
+    <link rel="alternate" type="application/atom+xml" title="Atom feed" href="/feed/atom" />
     {% block bottom-head %}
     {% endblock %}
   </head>
   <body>
-  {% block body %}
-  {% endblock %}
+    <header>
+      <h1><a href="/">Coin web de Frédéric Péters</a></h1>
+    </header>
+    <main class="{% block content-class %}{% endblock %}">
+      {% block body %}
+      {% endblock %}
+    </main>
   {% if request.user.is_staff %}
   <div class="actions">
     <a href="/new-note/">{% trans "New Note" %}</a>