Changes for page Latest Blog Posts Section
Last modified by Vincent Massol on 2024/04/10
From version 1.1
edited by Ecaterina Moraru (Valica)
on 2012/02/29
on 2012/02/29
Change comment:
Imported from XAR
To version 2.1
edited by Ecaterina Moraru (Valica)
on 2012/03/07
on 2012/03/07
Change comment:
added cache #latestBlogPostsCache set to 604800s = 1 week
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -67,5 +67,7 @@ 67 67 #set($blogDoc = $xwiki.getDocument('xwiki:Blog.BlogSheet' )) 68 68 #getBlogEntries($blogDoc $entries) 69 69 {{/velocity}}{{velocity}} 70 +{{cache id='latestBlogPostsCache' timeToLive='604800'}} 70 70 #displayBlog($entries 'latestposts' true true) 72 +{{/cache}} 71 71 {{/velocity}}