From 7e305bb2176c55f86debd49819098624648fdd27 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Tue, 2 Apr 2019 22:14:53 +0800 Subject: [PATCH] update --- _config.yml | 35 ++++++++++++++++++++++++++++------- layout/_partial/header.ejs | 19 +++++++++---------- layout/_widget/list.ejs | 2 +- 3 files changed, 38 insertions(+), 18 deletions(-) diff --git a/_config.yml b/_config.yml index 0a84e52..8f0c8a4 100755 --- a/_config.yml +++ b/_config.yml @@ -2,7 +2,7 @@ info: name: Material X docs: https://xaoxuu.com/wiki/material-x/ - cdn: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-material-x@19.3.31/ + cdn: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-material-x@19.4.2/ ############################### 主题样式 ############################### @@ -14,7 +14,7 @@ style: pure # pure: 导航栏和标题栏背景是白色 # 服务开关,如果你想禁用某些功能,直接设置为false或者注释掉,相关的js脚本就不会加载。 # 有些服务这里打开了也未必会生效,还需要额外的配置,详见文档。 services: - # cdn: true + cdn: true scrollreveal: true nodewaves: true busuanzi: true @@ -65,7 +65,7 @@ home_cover: icon: fas fa-info-circle url: about/ -# 导航栏菜单 +# 桌面端导航栏菜单 menu: - name: Cocoa Dev icon: fab fa-apple @@ -77,6 +77,27 @@ menu: icon: fas fa-coffee url: blog/categories/life/ +# 手机端导航菜单(从右上角的按钮点击展开) +menu_m: + - name: 近期文章 + icon: fas fa-clock + url: / + - name: 文章归档 + icon: fas fa-archive + url: blog/archives/ + - name: 开源项目 + icon: fas fa-flask + url: wiki/ + - name: 歌单分享 + icon: fas fa-compact-disc + url: music/ + - name: 我的友链 + icon: fas fa-link + url: friends/ + - name: 关于小站 + icon: fas fa-info-circle + url: about/ + # 侧边栏小部件 sidebar: @@ -90,16 +111,16 @@ sidebar: rows: - name: 开源项目 icon: fas fa-flask - url: https://xaoxuu.com/wiki/ + url: wiki/ - name: 文章归档 icon: fas fa-archive url: blog/archives/ - - name: 我的友链 - icon: fas fa-link - url: friends/ - name: 歌单分享 icon: fas fa-compact-disc url: music/ + - name: 我的友链 + icon: fas fa-link + url: friends/ - name: 关于小站 icon: fas fa-info-circle url: about/ diff --git a/layout/_partial/header.ejs b/layout/_partial/header.ejs index fb04516..994f9f3 100755 --- a/layout/_partial/header.ejs +++ b/layout/_partial/header.ejs @@ -1,4 +1,3 @@ -