summaryrefslogtreecommitdiffstats
path: root/src/templates
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-10-21 15:19:59 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2014-10-21 15:19:59 +0200
commit3a703d05efc4536dab7b21fb702253238a01666e (patch)
treec9febf57630b9d3ef55d94fa00c19be055e68316 /src/templates
parentc93ad4a81d0c7daab9fab3d19d56b130129b65d3 (diff)
downloadwebsite-3a703d05efc4536dab7b21fb702253238a01666e.tar.xz
bupa: bunch of refactoring...
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/entry.html16
-rw-r--r--src/templates/journal.html2
2 files changed, 9 insertions, 9 deletions
diff --git a/src/templates/entry.html b/src/templates/entry.html
index 1890104..4335bbf 100644
--- a/src/templates/entry.html
+++ b/src/templates/entry.html
@@ -7,26 +7,26 @@
{% block content %}
<article itemscope itemtype="http://schema.org/Article"
- class="entry" id="entry:{{ entry.id }}">
+ class="entry" id="entry:{{ page.id }}">
- <h2 itemprop="name" class="title">{{ entry.title }}</h2>
+ <h2 itemprop="name" class="title">{{ page.title }}</h2>
<div class="info">
Published on
- <time itemprop="datePublished" datetime="{{ entry.date.strftime('%Y-%m-%d') }}">
- {{ entry.date.strftime('%Y-%m-%d') }}
+ <time itemprop="datePublished" datetime="{{ page.date.strftime('%Y-%m-%d') }}">
+ {{ page.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>
+ {% if page.author_link %}
+ by <a itemprop="name" rel="author" href="{{ page.author_link }}">{{ page.author }}</a>
{% else %}
- by {{ entry.author }}
+ by {{ page.author }}
{% endif %}
</span>
</div>
- {{ entry.body }}
+ {{ page.body }}
</article>
<script data-isso="https://theos.kyriasis.com/isso/"
diff --git a/src/templates/journal.html b/src/templates/journal.html
index 4bc5d49..042534a 100644
--- a/src/templates/journal.html
+++ b/src/templates/journal.html
@@ -24,7 +24,7 @@
by {{ entry.author }}
{% endif %}
</span>
- | <a href="{{ entry.page }}#isso-thread">comments</a>
+ | <a href="journal/{{ entry.page }}#isso-thread">comments</a>
</div>
{{ entry.body }}