diff --git a/layout/common/article.ejs b/layout/common/article.ejs index 1b618897..a9a6946f 100644 --- a/layout/common/article.ejs +++ b/layout/common/article.ejs @@ -20,5 +20,6 @@ <%- partial('share/index', { post: post }) %> + <%- partial('post/ld_json', { post: post }) %> <%- partial('comment/index') %> diff --git a/layout/common/post/ld_json.ejs b/layout/common/post/ld_json.ejs new file mode 100644 index 00000000..f4922d92 --- /dev/null +++ b/layout/common/post/ld_json.ejs @@ -0,0 +1,20 @@ + \ No newline at end of file diff --git a/layout/plugin/google-analytics.ejs b/layout/plugin/google-analytics.ejs index 16636e4e..7725d88e 100644 --- a/layout/plugin/google-analytics.ejs +++ b/layout/plugin/google-analytics.ejs @@ -7,4 +7,4 @@ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) ga('create', '<%= theme.plugins.google_analytics %>', 'auto'); ga('send', 'pageview'); - \ No newline at end of file +