diff --git a/_config.yml b/_config.yml index a0bfdbe..8a3f494 100644 --- a/_config.yml +++ b/_config.yml @@ -24,6 +24,7 @@ fancybox: true duoshuo_shortname: -google_analytics: +google_analytics: UA-78918255-1 +baidu_tongji: 9cdad07c755fa23f6aced510c6760e87 favicon: /images/avatar-small.png diff --git a/layout/_partial/baidu_tongji.ejs b/layout/_partial/baidu_tongji.ejs new file mode 100644 index 0000000..71cacd6 --- /dev/null +++ b/layout/_partial/baidu_tongji.ejs @@ -0,0 +1,12 @@ +<% if (theme.baidu_tongji) { %> + +<% } %> + diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs index 799d127..cdae339 100644 --- a/layout/_partial/head.ejs +++ b/layout/_partial/head.ejs @@ -55,14 +55,5 @@ <% if (theme.social["google_plus"]) { %> <% } %> - - + diff --git a/layout/layout.ejs b/layout/layout.ejs index c7e9166..13e16e3 100644 --- a/layout/layout.ejs +++ b/layout/layout.ejs @@ -20,5 +20,6 @@ <%- partial('_partial/google_analytics') %> + <%- partial('_partial/baidu_tongji') %>