文档更改Home

Yang Sheng 于 2025-02-42,18:57 最后修改

从版本 152.1
Yang Sheng编辑
在2025-02-42,01:40上
修改评论: 该版本没有评论
到版本
Yang Sheng编辑
在2025-02-42,01:43上
修改评论: 该版本没有评论

摘要

细节

页面属性
内容
... ... @@ -46,7 +46,10 @@
46 46   #set($docTitle = "Untitled Document")
47 47   #end
48 48   ## 添加到输出
49 - #set($output = "$output<li>[[${docTitle}>>${document.getExternalURL('view')}]]</li>")
49 + #if($output != "")
50 + #set($output = "${output}, ")
51 + #end
52 + #set($output = "${output}[[${docTitle}>>${document.getExternalURL('view')}]]")
50 50   #set($hasUpdates = true)
51 51   #end
52 52   #end
... ... @@ -55,12 +55,12 @@
55 55  
56 56   ## 仅在有更新时显示标题和内容
57 57   #if($hasUpdates)
58 - {{html clean="false" wiki="false"}}
59 - <h2>$topPage</h2>
60 - <ul>
61 - $output
62 - </ul>
63 - {{/html}}
61 + ## 输出标题
62 + =$topPage=
63 + ## 输出内容
64 + $output
65 + ## 换行以分隔不同的类别
66 + \n
64 64   #end
65 65  #end
66 66  {{/velocity}}