文档更改Home

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

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

摘要

细节

页面属性
内容
... ... @@ -23,6 +23,10 @@
23 23  ## 定义需要忽略的页面标题列表
24 24  #set($ignoreTitles = ["页面管理", "脚本&自动化"])
25 25  
26 +{{html clean="false" wiki="false"}}
27 +<div class="recent-updates">
28 +{{/html}}
29 +
26 26  ## 输出结果
27 27  #foreach($topPage in $topLevelPages)
28 28   ## 查询每个一级链接下所有子页面的最近更新
... ... @@ -45,29 +45,42 @@
45 45   #set($docTitle = "Untitled Document")
46 46   #end
47 47   #if(!$hasUpdates)
52 + {{html clean="false" wiki="false"}}
48 48   <h4>$topPage</h4>
54 + <ul>
55 + {{/html}}
49 49   #set($hasUpdates = true)
50 50   #end
51 - * [[${docTitle}>>${document.getExternalURL('view')}]]
58 + {{html clean="false" wiki="false"}}
59 + <li><a href="${document.getExternalURL('view')}" target="_blank">${docTitle}</a></li>
60 + {{/html}}
52 52   #end
53 53   #end
54 54   #end
55 55   #end
65 + #if($hasUpdates)
66 + {{html clean="false" wiki="false"}}
67 + </ul>
68 + {{/html}}
69 + #end
56 56  #end
71 +
72 +{{html clean="false" wiki="false"}}
73 +</div>
74 +{{/html}}
75 +
57 57  {{/velocity}}
58 58  
59 -
60 60  )))
61 61  
62 -{{html}}
63 -<style>
64 - .recent-updates h4 {
65 - margin-top: -10px; /* 根据需要调整 */
66 - margin-bottom: 10px; /* 根据需要调整 */
67 - }
68 -</style>
69 -{{/html}}
70 70  
81 +
82 +
83 +
84 +
85 +
86 +
87 +
71 71  (% class="col-xs-12 col-sm-6" %)
72 72  (((
73 73  === 相关链接 ===