Overriding defaults in Chirpy
How to override the details from the Chirpy's starter pack.
Chirpy has everything that you need for a blog. When I started using this theme, I used the Starter instructions. Which means that you won’t be getting all the files that makes the whole Chirpy theme.
In my case, I wanted to change the CC license of all my posts, so I had to reference the original documentation. I had to look for the file that contained the copyright details.
You can find it in the _data folder.
1
2
3
4
5
6
copyright:
# Shown at the bottom of the post
license:
template: This post is licensed under :LICENSE_NAME by the author.
name: CC BY 4.0
link: https://creativecommons.org/licenses/by/4.0/
To change the CC license of your blog, just edit the contents of name and link.
Your new en.yml file should contain:
1
2
3
4
5
6
copyright:
# Shown at the bottom of the post
license:
template: This post is licensed under :LICENSE_NAME by the author.
name: CC0 1.0
link: https://creativecommons.org/publicdomain/zero/1.0/
Always refer to the theme documentation when overriding a default layout of the blog.
This post is licensed under CC0 1.0 by the author.