From f8b59a2b631addd6596a755bdf0b9effa39b9d9b Mon Sep 17 00:00:00 2001 From: Mimi <1119186082@qq.com> Date: Sat, 15 Aug 2020 00:15:32 +0800 Subject: [PATCH] Fix post-copyright --- layout/_partials/footer.njk | 2 +- source/css/_common/components/post/post-followme.styl | 8 -------- source/css/_common/components/post/post.styl | 8 ++++++++ 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/layout/_partials/footer.njk b/layout/_partials/footer.njk index 11673ac..5abbc55 100644 --- a/layout/_partials/footer.njk +++ b/layout/_partials/footer.njk @@ -44,7 +44,7 @@ {%- endif %} {{ symbolsTimeTotal(site, config.symbols_count_time.awl, config.symbols_count_time.wpm, __('symbols_count_time.time_minutes')) }} -{%- endif %} + {%- endif %} {%- endif %} diff --git a/source/css/_common/components/post/post-followme.styl b/source/css/_common/components/post/post-followme.styl index 46c2e73..2933767 100644 --- a/source/css/_common/components/post/post-followme.styl +++ b/source/css/_common/components/post/post-followme.styl @@ -1,11 +1,3 @@ -if (hexo-config('creative_commons.post')) { - .post-copyright { - list-style: none; - padding: .5em 1em; - post-card(); - } -} - .followme { color: $grey; padding: 1em 1.5em; diff --git a/source/css/_common/components/post/post.styl b/source/css/_common/components/post/post.styl index 02c872b..2080f70 100644 --- a/source/css/_common/components/post/post.styl +++ b/source/css/_common/components/post/post.styl @@ -16,6 +16,14 @@ text-align: center; } +if (hexo-config('creative_commons.post')) { + .post-copyright { + list-style: none; + padding: .5em 1em; + post-card(); + } +} + .post-eof { background: $grey-light; height: 1px;