2016-11-03 16:52:04 +01:00
---
title: "Structure"
permalink: /docs/structure/
excerpt: "How the theme is organized and what all of the files are for."
2018-03-20 20:34:10 +01:00
last_modified_at: 2018-03-20T15:19:22-04:00
2016-11-03 16:52:04 +01:00
---
Nothing clever here :wink:. 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.
**Please note:** If you installed Minimal Mistakes via the Ruby Gem method, theme files like `_layouts` , `_includes` , `_sass` , and `/assets/` will be missing. This is normal as they are bundled with the [`minimal-mistakes-jekyll` ](https://rubygems.org/gems/minimal-mistakes-jekyll ) Ruby gem.
{: .notice--info}
```bash
minimal-mistakes
├── _data # data files for customizing the theme
2017-06-24 17:29:59 +02:00
| ├── navigation.yml # main navigation links
2016-11-03 16:52:04 +01:00
| └── ui-text.yml # text used throughout the theme's UI
├── _includes
| ├── analytics-providers # snippets for analytics (Google and custom)
2018-11-21 20:59:14 +01:00
| ├── comments-providers # snippets for comments
2016-11-03 16:52:04 +01:00
| ├── footer # custom snippets to add to site footer
| ├── head # 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 for Jekyll Archives plugin
2018-03-20 20:34:10 +01:00
| ├── 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
2016-11-03 16:52:04 +01:00
| ├── compress.html # compresses HTML in pure Liquid
| ├── default.html # base for all other layouts
| ├── home.html # home page
2018-03-20 20:34:10 +01:00
| ├── posts.html # archive listing posts grouped by year
2017-11-15 21:03:04 +01:00
| ├── search.html # search page
2016-11-03 16:52:04 +01:00
| ├── single.html # single document (post/page/etc)
2018-03-20 20:34:10 +01:00
| ├── tag.html # archive listing posts grouped by specific tag
| ├── tags.html # archive listing posts grouped by tags
2016-11-03 16:52:04 +01:00
| └── 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
2017-06-24 17:29:59 +02:00
```