From 3686bff852a4619a996e08f6f265edeba4cf9000 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=88=91=E6=98=AF=E4=B8=80=E5=8F=AA=E8=99=AB=E5=AD=90?= <79zhanghao@users.noreply.github.com> Date: Sat, 7 Nov 2020 20:42:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BA=95=E9=83=A8=E6=8E=92?= =?UTF-8?q?=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _config.yml | 33 ++++++++++++++++++++++++--------- layout/_partial/foot.ejs | 12 ++++++++++-- layout/_partial/head.ejs | 4 +++- layout/_partial/header.ejs | 1 + layout/_partial/post_pn.ejs | 1 + layout/_widget/analytics.ejs | 14 ++++++++++++++ layout/layout.ejs | 6 ------ source/css/food.css | 36 +----------------------------------- source/css/page.css | 2 +- 9 files changed, 55 insertions(+), 54 deletions(-) create mode 100644 layout/_widget/analytics.ejs diff --git a/_config.yml b/_config.yml index 4b803e0..bb4ff66 100644 --- a/_config.yml +++ b/_config.yml @@ -9,15 +9,7 @@ home_describe: A COLLEGE STUDENT WITH IDEALS AND BELIEFS. # 网站关键字 keyword: 乔越博客,个人博客,hexo # 网站描述 -web_description: -# 导航 -menus: - home: / - archive: /archives - categories: /categories - tags: /tags - links: /links - about: /about +web_description: 描述 # 导航名称 menus_title: home: HOME @@ -26,6 +18,14 @@ menus_title: tags: TAGS links: LINKS about: ABOUT +# 导航 (不建议修改) +menus: + home: / + archive: /archives + categories: /categories + tags: /tags + links: /links + about: /about # logo logo: /image/logo.png @@ -41,6 +41,21 @@ topIcon: # 标签页显示多少个标签 tagsNum: 1000 +# 网页访问统计 +web_analytics: + enable: false #需要改为true + baidu: 4b5fe1472f22fa # (替换)百度统计的 Key,参见 https://tongji.baidu.com/sc-web/10000033910/home/site/getjs?siteId=13751376 代码获取中 hm.js? 后边的字符串 +# 底部显示的图标(github 或者其他) +bottomIcon: + #可以多个 + - { + #描述名称 + name: 'Github', + #图标 + iconLink: 'https://cdn.jsdelivr.net/gh/duogongneng/MyBlogImg/imggithub.png', + #跳转链接 + toUrl: 'https://github.com/qiaobug' + } # 友情链接 linksList: - { diff --git a/layout/_partial/foot.ejs b/layout/_partial/foot.ejs index 5ae67df..c1b4b83 100644 --- a/layout/_partial/foot.ejs +++ b/layout/_partial/foot.ejs @@ -6,6 +6,14 @@ href="https://github.com/qiaobug/hexo-theme-quiet">Quiet