添加网盘链接
This commit is contained in:
parent
733b78ccff
commit
a93bc6ec29
@ -1,8 +1,16 @@
|
||||
# Header
|
||||
|
||||
menu:
|
||||
home: /
|
||||
laboratory: /lab/
|
||||
home: # 主页
|
||||
name: home
|
||||
url: /
|
||||
netdisc: # 网盘
|
||||
name: netdisc
|
||||
url: http://www.colorfulsweet.site:8090/
|
||||
target: _blank
|
||||
laboratory: # 实验室
|
||||
name: laboratory
|
||||
url: /lab/
|
||||
|
||||
# SubNav
|
||||
subnav:
|
||||
|
||||
@ -16,5 +16,6 @@ show_full_text: Show Full Text
|
||||
home: Homepage
|
||||
informal_essay: Informal Essay
|
||||
laboratory: Laboratory
|
||||
netdisc: Netdisc
|
||||
all_articles: All Articles
|
||||
about_me: About Me
|
||||
@ -16,5 +16,6 @@ show_full_text: Voir le texte intégral de la
|
||||
home: Homepage
|
||||
informal_essay: Essais
|
||||
laboratory: Laboratoires
|
||||
netdisc: Disque réseau
|
||||
all_articles: Tous les articles
|
||||
about_me: À propos de moi
|
||||
@ -16,5 +16,6 @@ show_full_text: 記事全体を見る
|
||||
home: ホーム
|
||||
informal_essay: エッセイ
|
||||
laboratory: 研究室
|
||||
netdisc: ネットワークディスク
|
||||
all_articles: すべての記事
|
||||
about_me: 私について
|
||||
@ -16,5 +16,6 @@ show_full_text: просмотреть полный текст
|
||||
home: дома
|
||||
informal_essay: эссе
|
||||
laboratory: лаборатория
|
||||
netdisc: Сетевой диск
|
||||
all_articles: Все статьи
|
||||
about_me: Обо мне
|
||||
@ -16,5 +16,6 @@ show_full_text: 查看全文
|
||||
home: 主页
|
||||
informal_essay: 随笔
|
||||
laboratory: 实验室
|
||||
netdisc: 网盘
|
||||
all_articles: 所有文章
|
||||
about_me: 关于我
|
||||
@ -16,5 +16,6 @@ show_full_text: 查看全文
|
||||
home: 主頁
|
||||
informal_essay: 隨筆
|
||||
laboratory: 實驗室
|
||||
netdisc: 網盤
|
||||
all_articles: 所有文章
|
||||
about_me: 關於我
|
||||
@ -15,7 +15,7 @@
|
||||
<nav id="main-nav">
|
||||
<a id="main-nav-toggle" class="nav-icon"></a>
|
||||
<% for (let menuName in theme.menu){ %>
|
||||
<a class="main-nav-link" href="<%- url_for(theme.menu[menuName]) %>"><%= __(menuName) %></a>
|
||||
<a class="main-nav-link" href="<%- url_for(theme.menu[menuName].url) %>" target="<%= theme.menu[menuName].target || '_self' %>"><%= __(theme.menu[menuName].name) %></a>
|
||||
<% } %>
|
||||
</nav>
|
||||
<nav id="sub-nav">
|
||||
|
||||
@ -15,7 +15,7 @@
|
||||
<nav class="header-menu">
|
||||
<ul>
|
||||
<% for (let menuName in theme.menu){ %>
|
||||
<li><a href="<%- url_for(theme.menu[menuName]) %>"><%= __(menuName) %></a></li>
|
||||
<li><a href="<%- url_for(theme.menu[menuName].url) %>" target="<%= theme.menu[menuName].target || '_self' %>"><%= __(theme.menu[menuName].name) %></a></li>
|
||||
<% } %>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
<ul style="width: <%= ulWidth %>">
|
||||
<% var divide = 100 / count + '%' %>
|
||||
<% for (let menuName in theme.menu){ %>
|
||||
<li style="width: <%= divide %>"><a href="<%- url_for(theme.menu[menuName]) %>"><%= __(menuName) %></a></li>
|
||||
<li style="width: <%= divide %>"><a href="<%- url_for(theme.menu[menuName].url) %>"><%= __(theme.menu[menuName].name) %></a></li>
|
||||
<%}%>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user