File tree 5 files changed +5
-5
lines changed
nikola/data/themes/base/templates
5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 19
19
<h1 class="p-name entry-title"><a href="${post.permalink()}" class="u-url">${post.title()|h}</a></h1>
20
20
<div class="metadata">
21
21
<p class="byline author vcard"><span class="byline-name fn">${post.author()}</span></p>
22
- <p class="dateline"><a href="${post.permalink()}" rel="bookmark"><time class="published dt-published" datetime="${post.formatted_date('iso ')}" title="${post.formatted_date(date_format)}">${post.formatted_date(date_format)}</time></a></p>
22
+ <p class="dateline"><a href="${post.permalink()}" rel="bookmark"><time class="published dt-published" datetime="${post.formatted_date('webiso ')}" title="${post.formatted_date(date_format)}">${post.formatted_date(date_format)}</time></a></p>
23
23
% if not post.meta('nocomments') and site_has_comments:
24
24
<p class="commentline">${comments.comment_link(post.permalink(), post._base_path)}
25
25
% endif
Original file line number Diff line number Diff line change 9
9
%if posts:
10
10
<ul class="postlist">
11
11
% for post in posts:
12
- <li><a href="${post.permalink()}" class="listtitle">${post.title()|h}</a> <time class="listdate" datetime="${post.formatted_date('iso ')}" title="${post.formatted_date(date_format)}">${post.formatted_date(date_format)}</time></li>
12
+ <li><a href="${post.permalink()}" class="listtitle">${post.title()|h}</a> <time class="listdate" datetime="${post.formatted_date('webiso ')}" title="${post.formatted_date(date_format)}">${post.formatted_date(date_format)}</time></li>
13
13
% endfor
14
14
</ul>
15
15
%else:
Original file line number Diff line number Diff line change 32
32
${html_title()}
33
33
<div class="metadata">
34
34
<p class="byline author vcard"><span class="byline-name fn">${post.author()}</span></p>
35
- <p class="dateline"><a href="${post.permalink()}" rel="bookmark"><time class="published dt-published" datetime="${post.formatted_date('iso ')}" itemprop="datePublished" title="${post.formatted_date(date_format)}">${post.formatted_date(date_format)}</time></a></p>
35
+ <p class="dateline"><a href="${post.permalink()}" rel="bookmark"><time class="published dt-published" datetime="${post.formatted_date('webiso ')}" itemprop="datePublished" title="${post.formatted_date(date_format)}">${post.formatted_date(date_format)}</time></a></p>
36
36
% if not post.meta('nocomments') and site_has_comments:
37
37
<p class="commentline">${comments.comment_link(post.permalink(), post._base_path)}
38
38
% endif
Original file line number Diff line number Diff line change 58
58
### <meta property="article:author" content="${post.author()}">
59
59
### %endif
60
60
%if post.date.isoformat():
61
- <meta property="article:published_time" content="${post.formatted_date('iso ')}">
61
+ <meta property="article:published_time" content="${post.formatted_date('webiso ')}">
62
62
%endif
63
63
%if post.tags:
64
64
%for tag in post.tags:
Original file line number Diff line number Diff line change 43
43
%if posts:
44
44
<ul class="postlist">
45
45
% for post in posts:
46
- <li><a href="${post.permalink()}" class="listtitle">${post.title()|h}</a> <time class="listdate" datetime="${post.formatted_date('iso ')}" title="${post.formatted_date(date_format)}">${post.formatted_date(date_format)}</time></li>
46
+ <li><a href="${post.permalink()}" class="listtitle">${post.title()|h}</a> <time class="listdate" datetime="${post.formatted_date('webiso ')}" title="${post.formatted_date(date_format)}">${post.formatted_date(date_format)}</time></li>
47
47
% endfor
48
48
</ul>
49
49
%endif
You can’t perform that action at this time.
0 commit comments