From 343c60ec40570f243fcd0cbdc3514bb52ebdcead Mon Sep 17 00:00:00 2001 From: monniya Date: Tue, 14 Jun 2016 09:46:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=99=BE=E5=BA=A6=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E5=92=8C=E8=B0=B7=E6=AD=8C=E5=88=86=E6=9E=90=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _config.yml | 3 ++- layout/_partial/baidu_tongji.ejs | 12 ++++++++++++ layout/_partial/head.ejs | 11 +---------- layout/layout.ejs | 1 + 4 files changed, 16 insertions(+), 11 deletions(-) create mode 100644 layout/_partial/baidu_tongji.ejs 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') %>