From f08b53cedcdeadddec2603d5420041f701ced176 Mon Sep 17 00:00:00 2001 From: jeffreytse Date: Fri, 25 Jun 2021 14:21:18 +0800 Subject: [PATCH 1/3] feat: re-format copyright message and auto increase current year --- Gemfile | 1 + _config.yml | 4 +++- _includes/views/footer.html | 5 ++++- _sass/yat/_layout.scss | 5 +++++ 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index bb94df82938..c031e2a52f7 100644 --- a/Gemfile +++ b/Gemfile @@ -2,3 +2,4 @@ source "https://rubygems.org" gemspec + diff --git a/_config.yml b/_config.yml index be2d4831da6..103af93b43b 100644 --- a/_config.yml +++ b/_config.yml @@ -27,7 +27,9 @@ title: Your awesome title email: your-email@domain.com author: GitHub User -copyright: Copyright © 1970-2010 + +copyright: "Unpublished Work (cleft) 2017-{currentYear} {author}" + description: >- # this means to ignore newlines until "baseurl:" Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for diff --git a/_includes/views/footer.html b/_includes/views/footer.html index 86650e1b84a..f939d904623 100644 --- a/_includes/views/footer.html +++ b/_includes/views/footer.html @@ -3,7 +3,10 @@