From 670014ca4a03ac13b843976db6871f8baab4982c Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Wed, 23 Nov 2022 22:44:11 +0800 Subject: [PATCH] [opt] md-text --- layout/404.ejs | 2 +- layout/_partial/cover/wiki_cover.ejs | 2 +- layout/_partial/main/post_list/post_card.ejs | 2 +- layout/_partial/main/post_list/wiki_card.ejs | 2 +- layout/_partial/plugins/comments/layout.ejs | 2 +- layout/page.ejs | 2 +- layout/post.ejs | 2 +- layout/wiki.ejs | 2 +- source/css/_common/base.styl | 2 +- source/css/_common/highlight.styl | 10 ++++----- source/css/_layout/list.styl | 2 +- source/css/_layout/md.styl | 22 +++++++++---------- source/css/_layout/pages/error.styl | 4 ++-- .../css/_layout/partial/article-footer.styl | 8 +++---- source/css/_layout/tag-plugins/checkbox.styl | 2 +- source/css/_layout/tag-plugins/copy.styl | 2 +- source/css/_layout/tag-plugins/emoji.styl | 2 +- source/css/_layout/tag-plugins/frame.styl | 10 ++++----- .../_layout/tag-plugins/inline-labels.styl | 2 +- source/css/_layout/tag-plugins/link.styl | 12 +++++----- source/css/_layout/tag-plugins/mark.styl | 2 +- source/css/_layout/tag-plugins/navbar.styl | 2 +- source/css/_layout/tag-plugins/note.styl | 14 ++++++------ source/css/_layout/tag-plugins/poetry.styl | 4 ++-- source/css/_layout/tag-plugins/quot.styl | 14 ++++++------ source/css/_layout/tag-plugins/tabs.styl | 2 +- source/css/_layout/tag-plugins/timeline.styl | 6 ++--- source/js/main.js | 2 +- 28 files changed, 70 insertions(+), 70 deletions(-) diff --git a/layout/404.ejs b/layout/404.ejs index 7789dc7..e257eff 100755 --- a/layout/404.ejs +++ b/layout/404.ejs @@ -5,7 +5,7 @@ page.comment_title = ''; page.header = 'auto'; page.robots = 'none'; %> -
+

404

diff --git a/layout/_partial/cover/wiki_cover.ejs b/layout/_partial/cover/wiki_cover.ejs index cc399f6..4b93d49 100644 --- a/layout/_partial/cover/wiki_cover.ejs +++ b/layout/_partial/cover/wiki_cover.ejs @@ -19,7 +19,7 @@ function layoutWikiCover() { cover = ['logo', 'title', 'description']; } el += '

'; - el += '
'; + el += '
'; if (logo && logo.src && cover.includes('logo')) { el += '
'; diff --git a/layout/_partial/main/post_list/post_card.ejs b/layout/_partial/main/post_list/post_card.ejs index 50b50b5..cedb577 100755 --- a/layout/_partial/main/post_list/post_card.ejs +++ b/layout/_partial/main/post_list/post_card.ejs @@ -11,7 +11,7 @@ if (poster) { } function div_default() { var el = ''; - el += '
'; + el += '
'; // 封面 if (obj.image || theme.article.auto_cover) { diff --git a/layout/_partial/main/post_list/wiki_card.ejs b/layout/_partial/main/post_list/wiki_card.ejs index 24c5cfe..de80573 100644 --- a/layout/_partial/main/post_list/wiki_card.ejs +++ b/layout/_partial/main/post_list/wiki_card.ejs @@ -1,7 +1,7 @@ <% function layoutDiv() { var el = ''; - el += '
'; + el += '
'; if (proj.logo && proj.logo.src) { el += '
'; el += 'logo <% if (loadComment) { %> -