Browse Source

更新 navbar

SyuanYu 1 year ago
parent
commit
b7bf9c5c42
2 changed files with 14 additions and 5 deletions
  1. 3 0
      layouts/partials/navbar.html
  2. 11 5
      webSite/config.toml

+ 3 - 0
layouts/partials/navbar.html

@@ -16,6 +16,9 @@
         <li class="nav-item">
           <a class="nav-link" href="/ai-presenter/info/">AI 主播</a>
         </li>
+        <li class="nav-item">
+          <a class="nav-link" href="/main-news/virtual-host-solution/">AI 主持人方案</a>
+        </li>
         <li class="nav-item dropdown">
           <a class="nav-link dropdown-toggle" href="" id="navbarDropdown" role="button" data-bs-toggle="dropdown"
             aria-expanded="false">

+ 11 - 5
webSite/config.toml

@@ -44,11 +44,17 @@ page = ["HTML"]
     url  = "/ai-presenter/info/"
     weight = 2
 
+[[menu.main]]
+    identifier="AI 主持人方案"
+    name = "AI 主持人方案"
+    url  = "/main-news/virtual-host-solution/"
+    weight = 3
+
 [[menu.main]]
     identifier="home"
     name = "服務"
     url  = ""
-    weight = 3
+    weight = 4
 
 [[menu.main]]
     identifier="youtube-views-zh"
@@ -124,25 +130,25 @@ page = ["HTML"]
     identifier="blog"
     name = "部落格"
     url  = "/tags/vtuber/"
-    weight = 4
+    weight = 5
 
 [[menu.main]]
     identifier="main-news"
     name = "最新消息"
     url  = "/main-news/"
-    weight = 5
+    weight = 6
 
 [[menu.main]]
     identifier="聯絡我們"
     name = "聯絡我們"
     url  = "/contact/service/"
-    weight = 6
+    weight = 7
 
 [[menu.main]]
     identifier="關於我們"
     name = "關於我們"
     url  = "/aboutus/info/"
-    weight = 7
+    weight = 8
 
 # Top bar social links menu