-
-
Notifications
You must be signed in to change notification settings - Fork 960
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information
1 parent
4e3e599
commit b3e6ee2
Showing
4 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
|
||
source "https://rubygems.org" | ||
gemspec | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,21 @@ | |
title: Your awesome title | ||
email: [email protected] | ||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -210,6 +210,11 @@ html { | |
} | ||
} | ||
|
||
.copyleft { | ||
display: inline-block; | ||
transform: rotate(180deg); | ||
} | ||
|
||
/** | ||
* Post header | ||
*/ | ||
|