diff --git a/_config.yml b/_config.yml index 7187cdc..cdfaf02 100644 --- a/_config.yml +++ b/_config.yml @@ -9,9 +9,9 @@ menu: # https://github.com/mattboldt/typed.js subtitle: enable: true # 是否开启动效 - text: Привет мальчишки # 显示的文字 - text2: Привет как дела # 滚动播放,如果不需要可以留空 - text3: Привет как делишки # 最多支持三段文字 + text: # 显示的文字 + text2: # 滚动播放,如果不需要可以留空 + text3: # 最多支持三段文字 startDelay: 0 # 延迟时间 typeSpeed: 200 # 打字速度 loop: true # 是否循环 diff --git a/layout/_partial/article.ejs b/layout/_partial/article.ejs index c1b3b82..a8cdc54 100644 --- a/layout/_partial/article.ejs +++ b/layout/_partial/article.ejs @@ -66,6 +66,4 @@ <% if (!index){ %> <%- partial('post/nav') %> <% } %> <% if (theme.valine && theme.valine.enable && !post.no_valine){ %> <%- partial('post/valine', { key: post.slug, title: post.title, url: config.url+url_for(post.path) }) %> <% } %> - <% if (is_post()) { %> <%- partial('post/gitalk') %> <% } %> - <% if (is_post()) { %> <%- partial('post/twikoo') %> <% } %> diff --git a/layout/_partial/footer.ejs b/layout/_partial/footer.ejs index 075b365..c494530 100644 --- a/layout/_partial/footer.ejs +++ b/layout/_partial/footer.ejs @@ -18,36 +18,5 @@ <% } %> - - - - \ No newline at end of file diff --git a/layout/_partial/music.ejs b/layout/_partial/music.ejs deleted file mode 100644 index 6c327cf..0000000 --- a/layout/_partial/music.ejs +++ /dev/null @@ -1,16 +0,0 @@ -
- <%# "bottom:120px; left:auto;position:fixed; width:85%" %> - <% var defaultHeight = theme.music.type == 1 ? '32' : '66'; %> - <% var defaultIframeHeight = theme.music.type == 1 ? '52' : '86'; %> - -
- - \ No newline at end of file diff --git a/layout/_partial/post/gitalk.ejs b/layout/_partial/post/gitalk.ejs index cb8bd55..e69de29 100644 --- a/layout/_partial/post/gitalk.ejs +++ b/layout/_partial/post/gitalk.ejs @@ -1,21 +0,0 @@ -<% if (theme.gitalk.enable && post.comments) { %> -
-<%- css('https://cdn.staticfile.org/gitalk/1.7.2/gitalk.min.css') %> -<%- js('https://cdn.staticfile.org/gitalk/1.7.2/gitalk.min.js') %> -<%- js('https://cdn.staticfile.org/blueimp-md5/2.19.0/js/md5.min.js') %> - -<% } %> diff --git a/layout/layout.ejs b/layout/layout.ejs index 41a502b..26b5610 100644 --- a/layout/layout.ejs +++ b/layout/layout.ejs @@ -30,10 +30,6 @@ <%- partial('_partial/modal') %> <%- partial('_partial/after-footer') %> - - <% if (theme.music&&theme.music.enable){ %> - <%- partial('_partial/music') %> - <% } %> <%- partial('_partial/lock') %>