Structure
Nothing clever here π. Layouts, data files, and includes are all placed in their default locations. Stylesheets and scripts in assets, and a few development related files in the projectβs root directory.
minimal-mistakes
βββ _data # data files for customizing the theme
| βββ navigation.yml # main navigation links
| βββ ui-text.yml # text used throughout the theme's UI
βββ _includes
| βββ analytics-providers # snippets for analytics (Google and custom)
| βββ comments-providers # snippets for comments
| βββ footer
| | βββ custom.html # custom snippets to add to site footer
| βββ head
| | βββ custom.html # custom snippets to add to site head
| βββ feature_row # feature row helper
| βββ gallery # image gallery helper
| βββ group-by-array # group by array helper for archives
| βββ nav_list # navigation list helper
| βββ toc # table of contents helper
| βββ ...
βββ _layouts
| βββ archive-taxonomy.html # tag/category archive
| βββ archive.html # archive base
| βββ categories.html # archive listing posts grouped by category
| βββ category.html # archive listing posts grouped by specific category
| βββ collection.html # archive listing documents in a specific collection
| βββ compress.html # compresses HTML in pure Liquid
| βββ default.html # base for all other layouts
| βββ home.html # home page
| βββ posts.html # archive listing posts grouped by year
| βββ search.html # search page
| βββ single.html # single document (post/page/etc)
| βββ tag.html # archive listing posts grouped by specific tag
| βββ tags.html # archive listing posts grouped by tags
| βββ splash.html # splash page
βββ _sass # SCSS partials
βββ assets
| βββ css
| | βββ main.scss # main stylesheet, loads SCSS partials from _sass
| βββ images # image assets for posts/pages/collections/etc.
| βββ js
| | βββ plugins # jQuery plugins
| | βββ vendor # vendor scripts
| | βββ _main.js # plugin settings and other scripts to load after jQuery
| | βββ main.min.js # optimized and concatenated script file loaded before </body>
βββ _config.yml # site configuration
βββ Gemfile # gem file dependencies
βββ index.html # paginated home page showing recent posts
βββ package.json # NPM build scripts