summaryrefslogtreecommitdiffstats
path: root/src/templates/entry.html
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-10-15 18:39:56 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2014-10-15 18:40:45 +0100
commitb8cd2d937eb0e305509d1ffc70a52315320541c8 (patch)
tree81f2b020f274c2128b8aeff19561130014d33923 /src/templates/entry.html
parent965c9e67ef6f79b9cf72a01da03222a66d632569 (diff)
downloadwebsite-b8cd2d937eb0e305509d1ffc70a52315320541c8.tar.xz
refactor bupa slightly, add isso comments on separate entry pages
Diffstat (limited to 'src/templates/entry.html')
-rw-r--r--src/templates/entry.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/templates/entry.html b/src/templates/entry.html
new file mode 100644
index 0000000..1988537
--- /dev/null
+++ b/src/templates/entry.html
@@ -0,0 +1,37 @@
+{% extends 'layout.html' %}
+
+{% block head %}
+ <link href="/~kyrias/isso.css" rel="stylesheet">
+{% endblock head %}
+
+{% block content %}
+ <article itemscope itemtype="http://schema.org/Article"
+ class="entry" id="entry:{{ entry.id }}">
+
+ <h2 itemprop="name" class="title">{{ entry.title }}</h2>
+
+ <div class="info">
+ Published on
+ <time itemprop="datePublished" datetime="{{ entry.date.strftime('%Y-%m-%d') }}">
+ {{ entry.date.strftime('%Y-%m-%d') }}
+ </time>
+
+ <span itemprop="author" itemscope itemtype="http://schema.org/Person">
+ {% if entry.author_link %}
+ by <a itemprop="name" rel="author" href="{{ entry.author_link }}">{{ entry.author }}</a>
+ {% else %}
+ by {{ entry.author }}
+ {% endif %}
+ </span>
+ </div>
+
+ {{ entry.body }}
+ </article>
+
+ <script data-isso="https://theos.kyriasis.com/isso/"
+ data-isso-css="false"
+ data-isso-vote="true"
+ src="https://theos.kyriasis.com/isso/js/embed.min.js"></script>
+ <section id="isso-thread" class="botborder"></section>
+
+{% endblock content %}