Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(footer): enhancement for copyright #294

Merged
merged 1 commit into from
Apr 16, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions _config.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@ sns:
bilibili:
telegram:

# Copyright
# Specify the date when the site was setup.
# For example, if you set it as 2015, then footer will show '© 2015 - 2017'
copyright_since:

# SNS Share Switch
sns_share:
twitter: true
Expand Down
2 changes: 1 addition & 1 deletion layout/_partial/footer.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<!--Copyright-->
<div id="copyright">
Copyright&nbsp;©&nbsp;
Copyright&nbsp;©&nbsp;<% if(config.language !== null) { %><%= theme.copyright_since %>&nbsp;-&nbsp;<% } %>
<script type="text/javascript">
var fd = new Date();
document.write(fd.getFullYear());
Expand Down