From 0d9ebb54c59e37b6183e970223b619e21f8239f9 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Sat, 31 Jul 2021 18:20:25 +0800 Subject: [PATCH] custom footer --- _config.yml | 1 + layout/_partial/main/footer.ejs | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/_config.yml b/_config.yml index 7d751a3..7d53ce1 100755 --- a/_config.yml +++ b/_config.yml @@ -157,6 +157,7 @@ footer: # - '[GitLab](/)' license: '[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)' source: #'[GitHub](https://github.com/xaoxuu/hexo-theme-stellar)' + more: # string or array (support markdown) ######## Tag Plugins ######## diff --git a/layout/_partial/main/footer.ejs b/layout/_partial/main/footer.ejs index 871fe37..d8b5241 100755 --- a/layout/_partial/main/footer.ejs +++ b/layout/_partial/main/footer.ejs @@ -2,6 +2,7 @@ const author = '[@' + config.author + '](' + config.url + config.root + ')'; const using = '[' + stellar_info('name') + '](' + stellar_info('tree') + ' "v' + stellar_info('version') + '")'; const source = theme.footer.source; +const more = theme.footer.more; function layoutDiv() { var el = ''; el += ''; return el; }