diff --git a/_config.yml b/_config.yml index caa8899..6c0203c 100755 --- a/_config.yml +++ b/_config.yml @@ -148,7 +148,7 @@ plugins: scrollreveal: enable: true js: https://cdn.jsdelivr.net/npm/scrollreveal@4.0.7/dist/scrollreveal.min.js - distance: 16px - duration: 800 # ms - interval: 80 # ms + distance: 8px + duration: 500 # ms + interval: 50 # ms scale: 1 # 0.1~1 diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs index d3b5a5e..2ee029f 100755 --- a/layout/_partial/head.ejs +++ b/layout/_partial/head.ejs @@ -1,6 +1,8 @@ <% function generate_title() { - if (page.seo_title || page.title || page.wiki || page.layout) { + if (page.layout == 'wiki' && page.wiki && (page.title || page.seo_title)) { + return page.wiki + __('symbol.colon') + (page.seo_title || page.title) + ' - ' + config.title; + } else if (page.seo_title || page.title || page.wiki || page.layout) { return (page.seo_title || page.title || page.wiki || page.layout) + ' - ' + config.title; } else if (page.category) { return __('btn.category') + __('symbol.colon') + page.category + ' - ' + config.title; diff --git a/layout/_partial/main/article/wiki_cover.ejs b/layout/_partial/main/article/wiki_cover.ejs index b1fb595..52ac08d 100644 --- a/layout/_partial/main/article/wiki_cover.ejs +++ b/layout/_partial/main/article/wiki_cover.ejs @@ -11,7 +11,7 @@ function layoutWikiCover() { cover = ['logo', 'title', 'description']; } var el = ''; - el += '
'; + el += '
'; el += '
'; if (page.logo && cover.includes('logo')) { el += '