You may start here: https://github.com/benbalter/jekyll-style-guide
Disclamier: It is not officially endorsed by Jekyll and may not reflect the styles followed by the active / popular members of the community.
Since a Jekyll theme repository can be forked and used like a conventional Jekyll source directory, the above style-guide can be applied to themes as well. However, when structuring, a theme-gem, the following is enforced by Jekyll itself:
assets should be located at the root of the theme-gem for their contents to be read.
- Their names are not configurable unlike their counterparts at the source directory.
- Jekyll 4.0 allows bundling a config file as well. But it has to be named
_config.yml and located at the root.
The following are not enforced but would be better if followed:
home.html for the index page.
page.html for standalone pages and documents.
post.html for posts in the site.
The above pattern is used by the theme Minima according to which the boilerplate site generated by
jekyll new is set up. If third-party themes follow the same pattern, users need not edit their front matter each time they change themes.