diff --git a/_config.yml b/_config.yml index 194f8cb..c71dcba 100755 --- a/_config.yml +++ b/_config.yml @@ -1,11 +1,9 @@ # Site wide configuration -title: Site Title -locale: en_US -logo: # filename of a logo image that has been placed into your images directory +title: Site Title +locale: en_US +logo: # filename of a logo image that has been placed into your images directory -# Uncomment the 'yes' below if you would like for a creative commons license to be displayed in the footer of your site. -cc: #yes # Enter the following platform usernames if you would like for them to appear on your site. owner: name: Your Name @@ -42,6 +40,11 @@ owner: codepen: #username disqus-shortname: + # NOTE: If you would like your site to be licensed under a creative commons license, uncomment the 'yes' next to the type of license you wish to use. +creative-commons: + cc-by: #yes + cc-by-nc: #yes + #DO NOT EDIT BEYOND THIS POINT # Jekyll configuration diff --git a/_includes/_footer.html b/_includes/_footer.html index 28226f5..35189ae 100755 --- a/_includes/_footer.html +++ b/_includes/_footer.html @@ -11,10 +11,13 @@ {% endif %} -{% if site.cc %} -Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License{{ site.time | date: '%Y' }} {{ site.owner.name }}. Powered by Jekyll using the Jekyll Academic theme. -
Based on the Minimal Mistakes theme developed by Michael Rose.
+{% if site.creative-commons.cc-by %} +Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License. Powered by Jekyll using the Jekyll Academic theme. +
+{% elsif site.creative-commons.cc-by-nc %} +Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License. Powered by Jekyll using the Jekyll Academic theme. +
{% else %} © {{ site.time | date: '%Y' }} {{ site.owner.name }}. Powered by Jekyll using the Jekyll Academic theme. -
Based on the Minimal Mistakes theme developed by Michael Rose.
+
{% endif %} diff --git a/_sass/page.scss b/_sass/page.scss index c4100c1..d042580 100644 --- a/_sass/page.scss +++ b/_sass/page.scss @@ -635,6 +635,7 @@ $button-size: 1.5rem; @include clearfix; clear: both; padding-bottom: 3em; + text-align: center; a, a:active, a:visited,