Skip to content
Permalink
Browse files
Add parentheses around (updated)
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Aug 10, 2018
1 parent a39aec3 commit f48fec9921ef48a851888dafe370f72209426543
Showing with 10 additions and 14 deletions.
  1. +4 −5 CHANGES.txt
  2. +2 −3 nikola/data/themes/base/templates/index.tmpl
  3. +2 −3 nikola/data/themes/base/templates/post_header.tmpl
  4. +2 −3 nikola/data/themes/bootblog4/templates/index.tmpl
@@ -8,13 +8,12 @@ Features

* Don’t generate gallery index if the destination directory is
site root and it would conflict with blog index (Issue #3133)
* All built-in themes now support updated timestamp fields in
* All built-in themes now support ``updated`` timestamp fields in
posts. The update time, if it is specified and different from
the posting time will be displayed as
"{postDate} ${messages("updated") {updateDate}". If no update
the posting time, will be displayed as
"{postDate} (${messages("updated")} {updateDate})". If no update
time is specified, the posting time will be displayed alone.
* All built-in themes now support the ``DATE_FANCINESS``
parameter in ``conf.py``.
* All built-in themes now support the ``DATE_FANCINESS`` option.

Bugfixes
--------
@@ -41,9 +41,8 @@
<a href="${post.permalink()}" rel="bookmark">
<time class="published dt-published" datetime="${post.formatted_date('webiso')}" itemprop="datePublished" title="${post.formatted_date(date_format)|h}">${post.formatted_date(date_format)|h}</time>
% if post.updated and post.updated != post.date:
<span class="updated">${messages("updated")}
<time class="dt-updated" datetime="${post.formatted_updated('webiso')}" itemprop="dateUpdated" title="${post.formatted_updated(date_format)|h}">${post.formatted_updated(date_format)|h}</time>
</span>
<span class="updated">(${messages("updated")}
<time class="dt-updated" datetime="${post.formatted_updated('webiso')}" itemprop="dateUpdated" title="${post.formatted_updated(date_format)|h}">${post.formatted_updated(date_format)|h}</time>)</span>
% endif
</a>
</p>
@@ -42,9 +42,8 @@
<a href="${post.permalink()}" rel="bookmark">
<time class="published dt-published" datetime="${post.formatted_date('webiso')}" itemprop="datePublished" title="${post.formatted_date(date_format)|h}">${post.formatted_date(date_format)|h}</time>
% if post.updated and post.updated != post.date:
<span class="updated">${messages("updated")}
<time class="updated dt-updated" datetime="${post.formatted_updated('webiso')}" itemprop="dateUpdated" title="${post.formatted_updated(date_format)|h}">${post.formatted_updated(date_format)|h}</time>
</span>
<span class="updated">(${messages("updated")}
<time class="updated dt-updated" datetime="${post.formatted_updated('webiso')}" itemprop="dateUpdated" title="${post.formatted_updated(date_format)|h}">${post.formatted_updated(date_format)|h}</time>)</span>
% endif
</a>
</p>
@@ -41,9 +41,8 @@
<a href="${post.permalink()}" rel="bookmark">
<time class="published dt-published" datetime="${post.formatted_date('webiso')}" itemprop="datePublished" title="${post.formatted_date(date_format)|h}">${post.formatted_date(date_format)|h}</time>
% if post.updated and post.updated != post.date:
<span class="updated">${messages("updated")}
<time class="dt-updated" datetime="${post.formatted_updated('webiso')}" itemprop="dateUpdated" title="${post.formatted_updated(date_format)|h}">${post.formatted_updated(date_format)|h}</time>
</span>
<span class="updated">(${messages("updated")}
<time class="dt-updated" datetime="${post.formatted_updated('webiso')}" itemprop="dateUpdated" title="${post.formatted_updated(date_format)|h}">${post.formatted_updated(date_format)|h}</time>)</span>
% endif
</a>
</p>

0 comments on commit f48fec9

Please sign in to comment.