文件 Home 的修改

Harvey 於 2025/02/24 21:15 最後修改

由版本 1.1
Harvey 編輯
於 2025/02/23 06:35
修改評論: Install extension [org.xwiki.platform:xwiki-platform-distribution-flavor-common/17.0.0]
至版本 2.1
Harvey 編輯
於 2025/02/24 21:14
修改評論: 此版本無評論

摘要

细节

页面属性
内容
... ... @@ -1,40 +1,39 @@
1 -== Welcome to your wiki ==
1 +{{velocity}}
2 +#set ($title = "歡迎來到 JobKnowHub")
3 +#set ($description = "這是一個專業知識與健康資訊分享的平台,致力於提供有價值的內容。")
4 +{{/velocity}}
2 2  
3 -XWiki is the best tool to organize your knowledge. A //wiki// is organized in a hierarchy of //pages//. You can create multiple wikis, each with its own set of pages.
6 +{{html wiki="true"}}
7 +<div class="homepage-container">
8 + <header>
9 + <h1>$title</h1>
10 + <p>$description</p>
11 + </header>
12 +
13 + <nav>
14 + <ul>
15 + <li><a href="/xwiki/bin/view/Health/">健康</a></li>
16 + <li><a href="/xwiki/bin/view/Categories/">所有分類</a></li>
17 + <li><a href="/xwiki/bin/view/Health/RheumatoidArthritis/">類風溼性關節炎</a></li>
18 + <li><a href="/xwiki/bin/view/Blog/">部落格</a></li>
19 + <li><a href="/xwiki/bin/view/Blog/FirstPost/">第一篇文章</a></li>
20 + <li><a href="/xwiki/bin/view/Main/">首頁</a></li>
21 + </ul>
22 + </nav>
23 +
24 + <section class="content">
25 + <h2>關於 JobKnowHub</h2>
26 + <p>我們的目標是建立一個方便查詢的知識庫,涵蓋健康、專業技能、法律、藥品及技術等領域。無論是學術研究還是日常知識,這裡都能幫助你獲取正確資訊。</p>
27 + </section>
28 +
29 + <section class="latest-articles">
30 + <h2>最新文章</h2>
31 + {{dashboard source="Blog" count="5"/}}
32 + </section>
33 +
34 + <footer>
35 + <p>&copy; 2025 JobKnowHub - 專業知識共享平台</p>
36 + </footer>
37 +</div>
38 +{{/html}}
4 4  
5 -XWiki can be used as a knowledge base (support, documentation, sales, etc.), for collaborative workspaces or even as a complete intranet.
6 -
7 -== The basics ==
8 -
9 -To make the most out of your wiki, log-in and:
10 -
11 -Use the {{displayIcon name="pencil"/}} button above to //edit// this page and start customizing your wiki to your needs.
12 -
13 -Use the {{displayIcon name="add"/}} button above to //add// more pages to your wiki and create the //hierarchy// that best organizes your content.
14 -
15 -Use the {{displayIcon name="home"/}} breadcrumbs located above the title to //navigate// inside your pages. It's easy to get lost in a big wiki without them.
16 -
17 -You can also use the [[Sandbox>>Sandbox.WebHome]] for more demo content and generally a place to experiment with your wiki's features.
18 -
19 - {{box}}Learn more on how to use XWiki with the [[Getting Started Guide>>https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/GettingStarted/WebHome]].{{/box}}
20 -
21 -(% class="row" %)
22 -(((
23 -(% class="col-xs-12 col-sm-6" %)
24 -(((
25 -== Extend your wiki ==
26 -
27 -To extend the power and functionalities of your wiki with the features that //you// need, head over to the [[Extension Manager>>XWiki.XWikiPreferences||queryString="editor=globaladmin&section=XWiki.Extensions"]] where you can search for and install extensions.
28 -
29 -To browse through the 900+ community contributed extensions available for XWiki, head over to the [[Extensions Repository>>https://extensions.xwiki.org]].
30 -)))
31 -
32 -(% class="col-xs-12 col-sm-6" %)
33 -(((
34 -== Create your application ==
35 -
36 -Go beyond the available extensions and define the //structure// of your data based on //your// needs, creating //your// own applications with [[App Within Minutes>>AppWithinMinutes]] (AWM).
37 -
38 -AWM will take care of making it easy for you and your users to create and manage the data.
39 -)))
40 -)))