Add MACRO format_feed_date

Display publication date in preferred format for feeds.
This commit is contained in:
Roan Horning 2022-08-17 15:50:03 -04:00
parent dba0ec8485
commit 582f155ca1
Signed by untrusted user: rho_n
GPG Key ID: 234AEF20B72D5769

View File

@ -15,6 +15,12 @@
<!--% MACRO display_explicit_feed(is_explicit) BLOCK %-->
<!--% display_choice(is_explicit, 'yes', 'no') %-->
<!--% 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 %-->
<!--% IF baseurl %-->./<!--% ELSE %-->/<!--% END %-->
<!--% END %-->