mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Added a new ''modified:' metadata tag to be able to specify the
publication time and date and the last modified time and date
independently.
This makes it possible to access the last updated date with {{ article.locale_modified }} in templates.
Additionally, an already delivered feed entry can be corrected by changing the modified date and time, as it is used for atom:update
/ rss pubDate field now.
This commit is contained in:
parent
c8f5eb54db
commit
4b2fcb09a4
73 changed files with 381 additions and 152 deletions
|
|
@ -34,7 +34,11 @@
|
|||
<h1 class="entry-title"><a href="./filename_metadata-example.html">FILENAME_METADATA example</a></h1>
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2012-11-30T00:00:00">
|
||||
Fri 30 November 2012
|
||||
Published: Fri 30 November 2012
|
||||
</abbr>
|
||||
<br />
|
||||
<abbr class="modified" title="2012-03-02T14:01:01">
|
||||
Updated: Fri 02 March 2012
|
||||
</abbr>
|
||||
|
||||
<address class="vcard author">
|
||||
|
|
@ -59,7 +63,11 @@
|
|||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2012-02-29T00:00:00">
|
||||
Wed 29 February 2012
|
||||
Published: Wed 29 February 2012
|
||||
</abbr>
|
||||
<br />
|
||||
<abbr class="modified" title="2012-03-02T14:01:01">
|
||||
Updated: Fri 02 March 2012
|
||||
</abbr>
|
||||
|
||||
<address class="vcard author">
|
||||
|
|
@ -84,7 +92,11 @@
|
|||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2011-04-20T00:00:00">
|
||||
Wed 20 April 2011
|
||||
Published: Wed 20 April 2011
|
||||
</abbr>
|
||||
<br />
|
||||
<abbr class="modified" title="2012-03-02T14:01:01">
|
||||
Updated: Fri 02 March 2012
|
||||
</abbr>
|
||||
|
||||
<address class="vcard author">
|
||||
|
|
@ -108,7 +120,11 @@
|
|||
<div class="entry-content">
|
||||
<footer class="post-info">
|
||||
<abbr class="published" title="2011-02-17T00:00:00">
|
||||
Thu 17 February 2011
|
||||
Published: Thu 17 February 2011
|
||||
</abbr>
|
||||
<br />
|
||||
<abbr class="modified" title="2012-03-02T14:01:01">
|
||||
Updated: Fri 02 March 2012
|
||||
</abbr>
|
||||
|
||||
<address class="vcard author">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue