文档更改Home

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

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

摘要

细节

页面属性
内容
... ... @@ -65,8 +65,9 @@
65 65  {{/html}}
66 66  
67 67  ## 输出内容
68 +{{html}}
68 68  <div class="recent-updates">
69 - <h2>近期更新</h2>
70 +
70 70   #foreach($topPage in $topLevelPages)
71 71   ## 查询每个一级链接下所有子页面的最近更新
72 72   #set($hqlQuery = "select doc.fullName from XWikiDocument doc where doc.fullName like :spacePattern and doc.fullName not like '%:WebPreferences' and doc.fullName not like '%:WebHome' and doc.fullName not like '%:WebSearch' and doc.fullName not like '%:WebRss' and doc.fullName not like '%:WebStatistics' order by doc.date desc")
... ... @@ -88,7 +88,7 @@
88 88   #set($docTitle = "Untitled Document")
89 89   #end
90 90   #if(!$hasUpdates)
91 - <h3>$topPage</h3>
92 + <h4>$topPage</h4>
92 92   <ul>
93 93   #set($hasUpdates = true)
94 94   #end
... ... @@ -104,25 +104,8 @@
104 104  </div>
105 105  {{/velocity}}
106 106  
107 -{{html clean="false" wiki="false"}}
108 -<div class="recent-updates">
109 - <h2>近期更新</h2>
108 +~{~{/html}}
110 110  
111 - <h3>AIO知识库</h3>
112 - <ul>
113 - <li><a href="https://www.nicebro.fun/bin/view/AIO%E7%9F%A5%E8%AF%86%E5%BA%93/Xwiki%E7%9B%B8%E5%85%B3/%E9%A6%96%E9%A1%B5banner%E5%9B%BE%E6%96%B0%E5%A2%9E/" target="_blank">首页banner图新增</a></li>
114 - <li><a href="https://www.nicebro.fun/bin/view/AIO%E7%9F%A5%E8%AF%86%E5%BA%93/Xwiki%E7%9B%B8%E5%85%B3/" target="_blank">Xwiki相关</a></li>
115 - <li><a href="https://www.nicebro.fun/bin/view/AIO%E7%9F%A5%E8%AF%86%E5%BA%93/Xwiki%E7%9B%B8%E5%85%B3/%E9%A6%96%E9%A1%B5%E5%AF%BC%E8%88%AA%E6%A0%8F%E6%96%B0%E5%A2%9E/" target="_blank">首页导航栏新增</a></li>
116 - </ul>
117 -
118 - <h3>脚本&自动化</h3>
119 - <ul>
120 - <li><a href="https://www.nicebro.fun/bin/view/%E8%84%9A%E6%9C%AC%26%E8%87%AA%E5%8A%A8%E5%8C%96/" target="_blank">脚本&amp;自动化</a></li>
121 - <li><a href="https://www.nicebro.fun/bin/view/%E8%84%9A%E6%9C%AC%26%E8%87%AA%E5%8A%A8%E5%8C%96/Remaining_Work_Hours_For_AIO/" target="_blank">剩余工时显示插件</a></li>
122 - </ul>
123 -</div>
124 -{{/html}}
125 -
126 126  
127 127  )))
128 128