From d67628b2e887ff08d5bc9b8616b17bd6128b6289 Mon Sep 17 00:00:00 2001 From: shenyu <448766534@qq.com> Date: Sun, 15 Dec 2019 09:29:13 +0800 Subject: [PATCH] fix: github ribbons --- layout/_partial/ayer.ejs | 6 ++++++ layout/layout.ejs | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/layout/_partial/ayer.ejs b/layout/_partial/ayer.ejs index 1874b07..bfa5fc7 100644 --- a/layout/_partial/ayer.ejs +++ b/layout/_partial/ayer.ejs @@ -1,5 +1,11 @@ <% if (theme.cover.enable) { %>
+ <% if (theme.github && theme.github.url){ %> + <%# "GitHub Ribbons" %> + Fork me on GitHub + <% } %>
image frame diff --git a/layout/layout.ejs b/layout/layout.ejs index 0c395e6..3feaacc 100644 --- a/layout/layout.ejs +++ b/layout/layout.ejs @@ -3,12 +3,6 @@
- <% if (theme.github && theme.github.url){ %> - <%# "GitHub Ribbons" %> - Fork me on GitHub - <% } %> <%- body %> <%- partial('_partial/footer', null, {cache: !config.relative_link}) %>