diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-10-21 15:19:59 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-10-21 15:19:59 +0200 |
commit | 3a703d05efc4536dab7b21fb702253238a01666e (patch) | |
tree | c9febf57630b9d3ef55d94fa00c19be055e68316 /src/templates/entry.html | |
parent | c93ad4a81d0c7daab9fab3d19d56b130129b65d3 (diff) | |
download | website-3a703d05efc4536dab7b21fb702253238a01666e.tar.xz |
bupa: bunch of refactoring...
Diffstat (limited to 'src/templates/entry.html')
-rw-r--r-- | src/templates/entry.html | 16 |
1 files changed, 8 insertions, 8 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/" |