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
-
\ No newline at end of file
+
+<%- partial('_widget/gotop') %>
+
\ No newline at end of file
diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs
index a757e7f..0e694f5 100644
--- a/layout/_partial/head.ejs
+++ b/layout/_partial/head.ejs
@@ -20,4 +20,6 @@ if (page.title) {
<% }else{ %>
-<% } %>
\ No newline at end of file
+<% } %>
+<%- js('js/jquery.min.js') %>
+<%- partial('_widget/analytics') %>
\ No newline at end of file
diff --git a/layout/_partial/header.ejs b/layout/_partial/header.ejs
index 5973af7..be9b9f1 100644
--- a/layout/_partial/header.ejs
+++ b/layout/_partial/header.ejs
@@ -31,6 +31,7 @@
+<%- partial('_widget/sidebar') %>
\ No newline at end of file
diff --git a/layout/_partial/post_pn.ejs b/layout/_partial/post_pn.ejs
index fc859d9..8439b1f 100644
--- a/layout/_partial/post_pn.ejs
+++ b/layout/_partial/post_pn.ejs
@@ -7,6 +7,7 @@
<% } %>
+
<% if(page.next) {%>
diff --git a/layout/_widget/analytics.ejs b/layout/_widget/analytics.ejs
new file mode 100644
index 0000000..711a0d7
--- /dev/null
+++ b/layout/_widget/analytics.ejs
@@ -0,0 +1,14 @@
+<% if (theme.web_analytics.enable) { %>
+<% if(theme.web_analytics.baidu) { %>
+
+
+<% } %>
+<% } %>
\ No newline at end of file
diff --git a/layout/layout.ejs b/layout/layout.ejs
index 68ec100..7a75e61 100644
--- a/layout/layout.ejs
+++ b/layout/layout.ejs
@@ -3,17 +3,11 @@
<%- partial('_partial/head') %>
- <%- js('js/jquery.min.js') %>
<%- body %>
- <%- partial('_widget/sidebar') %>
- <%- partial('_widget/gotop') %>
<%- partial('_partial/foot') %>
-