文档更改Home

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

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

摘要

细节

页面属性
内容
... ... @@ -13,7 +13,6 @@
13 13  (% class="col-xs-12 col-sm-6" %)
14 14  (((
15 15  === 近期更新 ===
16 -
17 17  {{velocity}}
18 18  ## 定义一级链接列表
19 19  #set($topLevelPages = ["Home", "AI For Service", "AIO知识库", "脚本&自动化"])
... ... @@ -44,7 +44,8 @@
44 44   #if($docTitle == '')
45 45   #set($docTitle = "Untitled Document")
46 46   #end
47 - #set($output = "${output}* [[${docTitle}>>${document.getExternalURL('view')}]]\\n")
46 + ## 添加每个文档链接到输出
47 + #set($output = "${output}\n${docTitle}: [[查看>>${document.getExternalURL('view')}]]")
48 48   #set($hasUpdates = true)
49 49   #end
50 50   #end
... ... @@ -53,10 +53,10 @@
53 53  
54 54   ## 仅在有更新时显示标题和内容
55 55   #if($hasUpdates)
56 - = $topPage =\n$output
56 + = $topPage =
57 + $output
57 57   #end
58 58  #end
59 59  {{/velocity}}
60 60  
61 -
62 62  )))