The Chalk Theme is for Grav CMS.
It is a port of the popular Jekyll's chalk theme to Grav.
This repository is for the theme only, new user might preferably want to use the skeleton first as it ship with a few default page and configuration.
The Chalk Theme is available in a light mode and a dark mode. You can switch between the two designs through the Theme settings.
The theme requires the installation of several plugin:
As this theme is minimal, only a few templates are available:
default.html.twig
) is used to simply display a page of textblog_listing.html.twig
) is used to display articles as set in the page collection.post.html.twig
) the post itselftags.html.twig
) this template is used to display a list of tags gathered across the articles, as shown in the demo.Every page added will be added to the navigation, but keep in mind that the theme is designed for websites with only a few pages (eg: Blog, About, Tags), adding more page might cause a bug in the display of the nav bar.
Once installed, you should check out the Theme configuration page.
If you plan on using taxonomies, you should set up the route of your blog on the plugin configuration page. Please note that taxonomies will only work if you correctly set up a page collection in the frontmatter of your blog page. Example :
content:
items:
'@page.children': '/blog'
More informations on page collection at the following link : https://learn.getgrav.org/17/content/collections#page-collections
<a class="fluidbox-trigger" href="/grav/user/pages/07.blog/06.first-post/99.jpg">
![](99.jpg){.fluidbox-trigger}
</a>