Midnight Mountains
A dark, card-based Jekyll theme with a featured post hero and a bold sidebar layout.
Installation
Add the gem to your site's Gemfile:
gem "jekyll-theme-midnight-mountains"
Then set the theme in _config.yml:
theme: jekyll-theme-midnight-mountains
If you see an error about the {% seo %} tag, add the plugins explicitly:
plugins:
- jekyll-seo-tag
- jekyll-feed
- jekyll-sitemap
- jekyll-paginate
- jekyll-gist
Usage
- Use the
homelayout for the landing page,pagefor pages, andpostfor posts. - Add
nav: true(and optionalnav_order) to pages to show them in the header nav. - Add
footer_linksto_config.ymlto populate the footer. - Set
imagein post front matter to control card backgrounds.
Example index.md:
---
layout: home
title: Home
---
Example nav page front matter:
---
layout: page
title: About
nav: true
nav_order: 1
---
Example footer config:
title: Midnight Mountains
footer_links:
- title: GitHub
url: https://github.com/systemhalted/jekyll-theme-midnight-mountains
Demo
To run the demo site from the repo root:
bundle exec jekyll serve --source example
Development
After checking out the repo, run bin/setup, then bundle exec jekyll serve.
Run the test suite with:
bundle exec rake test
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/systemhalted/jekyll-theme-midnight-mountains. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.
License
The gem is available as open source under the terms of the MIT License.
Code of Conduct
Everyone interacting in the Midnight Mountains project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.