This Site Last Updated...

By mattdmmattdm


Visitors tend to prefer sites with recent updates to those created in 1997 and never updated. This solution gives you a quick line to put at the top of your site which quickly shows that this site is active.


[[div style="font-size: x-small; whitespace:no-wrap; float: right"]]
[[module ListPages category="*" tags="-_system,-_redirect,-_include"  limit="1" order="dateEditedDesc" separate="no"]]
%%date_edited|This site [[[system:recent-changes|updated]]] %O ago%%.

Note that the "div" lines simply make the text small and float at the right. If you don't want that, leave out the div, or style differently.

In action

Pentax Flash Guide

Or, right here:

04 Feb 2024 17:58.

Thanks to tsangk for this great snippet: conditional-blocks

text above inserted with:

[[include :snippets:if START |unique=1|type=equal|var1=%%name%%|var2=conditional-blocks]]
**##red|Thanks to tsangk for this great snippet:##** [[[code:conditional-blocks]]]
[[include :snippets:if END]]

Other snippets posted by mattdm

Rate this solution

If you think this solution is useful — rate it up!

rating: +13+x
Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License