From f3b8f9f0f80a05739756fb05cbec403011c46607 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Fri, 10 Jul 2015 15:41:59 +0200 Subject: Include the whole in dailyRSS Allow custom date format and title in templates. Also a bit of code style review. Fixes #182 --- tpl/dailyrss.html | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) (limited to 'tpl') diff --git a/tpl/dailyrss.html b/tpl/dailyrss.html index 1b7ab8e9..d959d6be 100644 --- a/tpl/dailyrss.html +++ b/tpl/dailyrss.html @@ -1,8 +1,16 @@ -{loop="links"} -

{$value.title}

- {if="!$GLOBALS['config']['HIDE_TIMESTAMPS']"}{function="strftime('%c', $value.timestamp)"} - {/if}{if="$value.tags"}{$value.tags}{/if}
- {$value.url}

- {if="$value.thumbnail"}{$value.thumbnail}{/if}
- {if="$value.description"}{$value.formatedDescription}{/if} -


-{/loop} \ No newline at end of file + + {$title} - {function="strftime('%A %e %B %Y', $daydate)"} + {$absurl} + {$absurl} + {$rfc822date} + {$value.title} + {if="!$GLOBALS['config']['HIDE_TIMESTAMPS']"}{function="strftime('%c', $value.timestamp)"} - {/if}{if="$value.tags"}{$value.tags}{/if}
+ {$value.url}

+ {if="$value.thumbnail"}{$value.thumbnail}{/if}
+ {if="$value.description"}{$value.formatedDescription}{/if} +


+ {/loop} + ]]>
+
\ No newline at end of file -- cgit v1.2.3