文档更改Home

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

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

摘要

细节

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