summaryrefslogtreecommitdiff
path: root/_config.yml
diff options
context:
space:
mode:
authorYuchen Zhang <anthony.yuchen@gmail.com>2021-06-28 19:31:58 -0700
committerGitHub <noreply@github.com>2021-06-29 10:31:58 +0800
commitb3e6ee2f69a463e7c0ba075b488c3a3959096c94 (patch)
tree807697587aa4e86cc509cb6a40eb67e627fcc3e8 /_config.yml
parent4e3e599bbff99261206cefaa1159e61d7d353262 (diff)
feat: support copyright placeholders/variables (#46)
* feat: re-format copyright message and auto increase current year * docs: add comment for copyright setting This comment is crucial, especially for newcomers. * refactor: better liquid code format Co-authored-by: jeffreytse <jeffreytse.mail@gmail.com>
Diffstat (limited to '_config.yml')
-rw-r--r--_config.yml16
1 files changed, 15 insertions, 1 deletions
diff --git a/_config.yml b/_config.yml
index be2d483..aefe93a 100644
--- a/_config.yml
+++ b/_config.yml
@@ -27,7 +27,21 @@
title: Your awesome title
email: your-email@domain.com
author: GitHub User
-copyright: Copyright © 1970-2010
+
+# Copyright setting
+# You can use any html code, currently below placeholders are available:
+# * current year: {currentYear}
+# * author: {author} (Value is the same as site.author)
+# * copyright: (c) - ©
+# * copyleft: (cleft)
+# * sound recording copyright: (p) - ℗
+#
+# For example:
+# "Copyright (c) 2017-{currentYear} <a href="https://example.com">{author}</a>"
+# "Copyright © 2017-2021 Foobar"
+#
+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