Disclaimer: The information here may vary depending on the version you're using.
Please refer to the README.md
bundled within the theme-gem for information specific to your version or by pointing
your browser to the Git tag corresponding to your version. e.g. https://github.com/jekyll/minima/blob/v2.5.0/README.md.
Running bundle show minima
will provide you with the local path to your current theme version.
It's Jekyll's default (and first) theme. It's what you get when you run jekyll new
.
Theme preview

## Installation
Add this line to your Jekyll site's Gemfile:
```ruby
gem "minima"
```
And then execute:
$ bundle
## Contents At-A-Glance
Minima has been scaffolded by the `jekyll new-theme` command and therefore has all the necessary files and directories to have a new Jekyll site up and running with zero-configuration.
### Layouts
Refers to files within the `_layouts` directory, that define the markup for your theme.
- `base.html` — The base layout that lays the foundation for subsequent layouts. The derived layouts inject their
contents into this file at the line that says ` {{ content }} ` and are linked to this file via
[FrontMatter](https://jekyllrb.com/docs/frontmatter/) declaration `layout: base`.
- `home.html` — The layout for your landing-page / home-page / index-page. [[More Info.](#home-layout)]
- `page.html` — The layout for your documents that contain FrontMatter, but are not posts.
- `post.html` — The layout for your posts.
#### Base Layout
From Minima v3 onwards, the base layout is named **`base.html`** instead of `default.html` to avoid confusing new users into
assuming that name holds special status.
Users migrating from older versions with customized `_layouts/default.html` are advised to rename their copy to
`_layouts/base.html`. Migrating users with additional customized layouts may either update front matter references to former
`default.html` layout or create a new `default.html` layout referencing the current `base.html`, whichever route being the
easiest:
```
---
# new `_layouts/default.html` for backwards-compatibility when multiple
# layouts have been customized.
layout: base
---
{{ content }}
```
#### Home Layout
`home.html` is a flexible HTML layout for the site's landing-page / home-page / index-page.