Zdrojový kód wiki Macro - changedpages1 - forTest
Version 32.1 by David Brazda on 23.02.2021 14:29
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | **~{~{changedpages1/}}** | ||
2 | |||
3 | **for test just on this wiki** | ||
4 | |||
5 | {{changedpages1/}} | ||
6 | |||
7 | |||
8 | {{velocity}} | ||
9 | #set ($list = $services.query.xwql('where doc.hidden = 0 order by doc.date desc').execute()) | ||
10 | Skript pro sitemap, nezobrazujeme stranky, ktere maji v nazvu XWiki. | ||
11 | #foreach($reference in $list) | ||
12 | #set ($document = $xwiki.getDocument($reference)) | ||
13 | #if ((!$document.toString().contains("XWiki.")) || (!$document.toString().contains("Macros."))) | ||
14 | * $document | ||
15 | #end | ||
16 | #end | ||
17 | {{/velocity}} |