diff options
Diffstat (limited to 'src/templates')
-rw-r--r-- | src/templates/entry.html | 16 | ||||
-rw-r--r-- | src/templates/journal.html | 2 |
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 }} |