The _config.yml
file is the most important one. It contains the basic setup of your project.
Some parts are preconfigured and shouldn’t be touched as the comments state.
Of course if you are familiar with Jekyll you can change whatever you want.
Note: You do not have to change anything. Chalk works out of the box. I do recommend changing the _config.yml
to suit your needs.
Mandatory settings
baseurl
: Set baseurl to match the production URL without the host.name
: Used as the page title and throughout your project as the default name.paginate
: Define how much posts should be shown on the homepage for each page.paginate_path
: Change the path name to something else for paginated pages.url
: Your production url (http://example.com).blog_theme
: 2 options here,light
ordark
. Choose which design you prefer.
Optional settings
discus_identifier
: If you like to use Disqus for comments on each blog post, you can add the Disqus identifier here and it will popup automatically.ga_analytics
: Add Google Analytics Tracking ID here.rss_enabled
: When set totrue
, the rss icon in the top navigation will show up and people will be able to subscribe to your rss feed.social
: Add you social links in here. When filled in they will show up in the navigation.
Other settings
Other than the _config.yml
you can change a lot more in the project.
Tags
To add tags you must add a file with the tag name in _my_tags
.
In the file you add 2 variables: slug
used to reference the tag and name
which is displayed in the article header.
SCSS
You can change colors, fonts, sizes in the _assets/stylesheets/_variables.scss
file.
For each specific theme (light or dark) you can change the variables in _assets/stylesheets/dark.scss
and _assets/stylesheets/light.scss
.
Fonts
Chalk uses Google Fonts by default. You can change the font in _includes/javascripts.html
.
Footer
Changing the text in the footer is easy. It can be found in _includes/footer.html
.
If you have any questions about using or configuring Chalk please create an issue here!