Add MACRO format_feed_date
Display publication date in preferred format for feeds.
This commit is contained in:
parent
dba0ec8485
commit
582f155ca1
@ -15,6 +15,12 @@
|
|||||||
<!--% MACRO display_explicit_feed(is_explicit) BLOCK %-->
|
<!--% MACRO display_explicit_feed(is_explicit) BLOCK %-->
|
||||||
<!--% display_choice(is_explicit, 'yes', 'no') %-->
|
<!--% display_choice(is_explicit, 'yes', 'no') %-->
|
||||||
<!--% END %-->
|
<!--% END %-->
|
||||||
|
|
||||||
|
<!--% MACRO format_feed_date(date_to_format) BLOCK %-->
|
||||||
|
<!--% USE feed_date = date(format = '%a, %e %b %Y 00:00:00 +0000', gmt=1) %-->
|
||||||
|
<!--% feed_date.format(date_to_format) %-->
|
||||||
|
<!--% END %-->
|
||||||
|
|
||||||
<!--% MACRO absolute_path(baseurl) BLOCK %-->
|
<!--% MACRO absolute_path(baseurl) BLOCK %-->
|
||||||
<!--% IF baseurl %-->./<!--% ELSE %-->/<!--% END %-->
|
<!--% IF baseurl %-->./<!--% ELSE %-->/<!--% END %-->
|
||||||
<!--% END %-->
|
<!--% END %-->
|
||||||
|
Reference in New Issue
Block a user