summaryrefslogtreecommitdiffstats
path: root/src/templates
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-10-20 17:47:01 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2014-10-20 17:47:01 +0200
commitae0f7768119984ca21238eee31fcb71931970dcb (patch)
tree6d670f664c3eb657cfab72562d1108f264d75568 /src/templates
parent3e0a06445b130a68f9a2401b5d8b52e9283b92ec (diff)
downloadwebsite-ae0f7768119984ca21238eee31fcb71931970dcb.tar.xz
use pyatom to generate journal feed
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/entry.html1
-rw-r--r--src/templates/journal.html4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/templates/entry.html b/src/templates/entry.html
index 1f23123..3bc2fbd 100644
--- a/src/templates/entry.html
+++ b/src/templates/entry.html
@@ -2,6 +2,7 @@
{% block head %}
<link href="isso.css" rel="stylesheet">
+ <link href="../journal.xml" type="application/atom+xml" rel="alternate" title="Journal Atom feed" />
{% endblock head %}
{% block content %}
diff --git a/src/templates/journal.html b/src/templates/journal.html
index 7f5dfc4..619a3ee 100644
--- a/src/templates/journal.html
+++ b/src/templates/journal.html
@@ -1,5 +1,9 @@
{% extends 'layout.html' %}
+{% block head %}
+ <link href="journal.xml" type="application/atom+xml" rel="alternate" title="Journal Atom feed" />
+{% endblock head %}
+
{% block content %}
{% for entry in entries %}
<article itemscope itemtype="http://schema.org/Article"