diff --git a/src/private/templates/index.latte b/src/private/templates/index.latte index fbef18c..0cbeb4d 100644 --- a/src/private/templates/index.latte +++ b/src/private/templates/index.latte @@ -35,6 +35,13 @@
{$news["description"]|noescape}
+ {if empty(!$news["edited"])} +Edited: {strtotime($news["edited"])|fuzzyDateAbbr}
+ {/if} + {* or you can use with translation and a CSS class for example, creating your css obviously *} + {*{_"NEW_EDITED"}{strtotime($news["edited"])|fuzzyDateAbbr}
*} + {* option without fuzzyDate *} + {*{_"NEW_EDITED"}{strtotime($news["edited"])|date:'d/m/Y - H:i'}
*}