From 0a4633ec907208c9b8a48d605517e4a805c91511 Mon Sep 17 00:00:00 2001 From: neoFelhz Date: Mon, 12 Jun 2017 18:25:54 +0800 Subject: [PATCH 1/2] feat(footer): footer text customize support --- _config.template.yml | 8 ++++++++ layout/_partial/footer.ejs | 1 + 2 files changed, 9 insertions(+) diff --git a/_config.template.yml b/_config.template.yml index 66921473f..5c2a457db 100644 --- a/_config.template.yml +++ b/_config.template.yml @@ -97,6 +97,14 @@ card_elevation: 2 # For example, if you set it as 2015, then footer will show '© 2015 - 2017' copyright_since: +# Footer Text +# You can specify the text you want to show in footer, HTML tag is supported. +# For example, you can setup ICP license number as: +# '某ICP备xxxxxxxx号-x' +# Or you can set up a CC license as: +# 'This blog is under a CC BY-NC-SA 3.0 Unported License' +footer_text: + # Qrcode for redirect at other device # use: choose which method to generate the qrcode for each posts. # Available value of "use": plugin | online diff --git a/layout/_partial/footer.ejs b/layout/_partial/footer.ejs index e3551718d..65c921c46 100644 --- a/layout/_partial/footer.ejs +++ b/layout/_partial/footer.ejs @@ -7,6 +7,7 @@ From 502e89a33494383ff41df66915e372da691051c1 Mon Sep 17 00:00:00 2001 From: neoFelhz Date: Mon, 12 Jun 2017 18:32:41 +0800 Subject: [PATCH 2/2] feat(footer) - fix a bug of using html tag - add support for multi-line text --- layout/_partial/footer.ejs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/layout/_partial/footer.ejs b/layout/_partial/footer.ejs index 65c921c46..6c1e06258 100644 --- a/layout/_partial/footer.ejs +++ b/layout/_partial/footer.ejs @@ -7,7 +7,14 @@