Skip to content

Commit 70c274a

Browse files
committed
Merge branch 'release/4.0.4'
Conflicts: README.md
2 parents 7494fbf + 9154710 commit 70c274a

File tree

201 files changed

+4025
-321
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

201 files changed

+4025
-321
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1+
*.gem
12
*.sublime-project
23
*.sublime-workspace
4+
.bundle
35
.DS_Store
46
.jekyll-metadata
57
.sass-cache
68
_asset_bundler_cache
79
_site
810
codekit-config.json
11+
example/_site
12+
Gemfile.lock
913
node_modules
1014
npm-debug.log*

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
## [4.0.4](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.0.4)
2+
3+
### Enhancements
4+
5+
- "Gemify" theme ~> `gem "minimal-mistakes-jekyll"
6+
- Replace `base_path` include with `absolute_url` filter where possible.
7+
- Allow images to be placed in other folders. Remove `/images/` only restriction and encourage placement in `/assets/images/` instead. **Full paths are now required. If upgrading from MM 3.4 add `/images/` before filenames in Front Matter and `_config.yml` variables.**
8+
- Add [home `layout`](https://github.com/mmistakes/minimal-mistakes/blob/master/_layouts/home.html)
9+
- Added missing Turkish translations for UI text. [#621](https://github.com/mmistakes/minimal-mistakes/pull/621)
10+
- Make author avatar optional in sidebar.
11+
- Update **/_includes/seo.html** for meta description. [#558](https://github.com/mmistakes/minimal-mistakes/pull/558)
12+
13+
### Bug Fixes
14+
15+
- Fix navigation bar animation "flicker" in Safari [#568](https://github.com/mmistakes/minimal-mistakes/issues/568)
16+
- Fix `author.avatar` paths for externally hosted images.
17+
18+
### Maintenance
19+
20+
- Add documentation around `gem "minimal-mistakes-jekyll"` installation and use.
21+
- Add note about using full image paths for eg. `assets/images/filename.jpg` (header images, overlays, galleries, feature rows, etc.) instead of assuming they will always be in `/images/`.
22+
- Add "[Overriding Theme Defaults](https://mmistakes.github.io/minimal-mistakes/docs/overriding-theme-defaults/)" page to documentation.
23+
124
## [3.4.8](https://github.com/mmistakes/minimal-mistakes/releases/tag/3.4.8)
225

326
### Enhancements

Gemfile

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,2 @@
11
source "https://rubygems.org"
2-
3-
# Hello! This is where you manage which Jekyll version is used to run.
4-
# When you want to use a different version, change it below, save the
5-
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
6-
#
7-
# bundle exec jekyll serve
8-
#
9-
# This will help ensure the proper Jekyll version is running.
10-
# Happy Jekylling!
11-
12-
gem "github-pages", group: :jekyll_plugins
13-
14-
# If you want to use Jekyll native, uncomment the line below.
15-
# To upgrade, run `bundle update`.
16-
17-
# gem "jekyll"
18-
19-
gem "wdm", "~> 0.1.0" if Gem.win_platform?
20-
21-
# If you have any plugins, put them here!
22-
group :jekyll_plugins do
23-
# gem "jekyll-archives"
24-
end
2+
gemspec

Gemfile.lock

Lines changed: 0 additions & 146 deletions
This file was deleted.

LICENSE renamed to LICENSE.txt

File renamed without changes.

README.md

Lines changed: 41 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,33 @@
11
# [Minimal Mistakes Jekyll Theme](https://mmistakes.github.io/minimal-mistakes/)
22

3-
[![GitHub release](https://img.shields.io/github/release/mmistakes/minimal-mistakes.svg)](https://github.com/mmistakes/minimal-mistakes/releases) [![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE)
3+
[![GitHub release](https://img.shields.io/gem/v/minimal-mistakes-jekyll.svg)](https://github.com/mmistakes/minimal-mistakes/releases) [![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://raw.githubusercontent.com/mmistakes/minimal-mistakes/master/LICENSE)
44

55
Minimal Mistakes is a flexible two-column Jekyll theme. Perfect for hosting your personal site, blog, or portfolio on GitHub or self-hosting on your own server. As the name implies --- styling is purposely minimalistic to be enhanced and customized by you :smile:.
66

77
See what's new in the [CHANGELOG](CHANGELOG.md).
88

9-
Interested in testing out a [**pre-release "gemified" version**](https://github.com/mmistakes/minimal-mistakes/tree/feature/theme-gem) of the theme? Read this blog post to [learn how](https://mmistakes.github.io/minimal-mistakes/jekyll/gemified-theme-beta/).
9+
:sparkles: Minimal Mistakes is now available as a [Ruby gem](https://rubygems.org/gems/minimal-mistakes-jekyll). Consult the [Quick-Start Guide](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/) and [this blog post](https://mmistakes.github.io/minimal-mistakes/jekyll/gemified-theme-beta/) to learn how to upgrade.
1010

1111
[![Minimal Mistakes live preview][2]][1]
1212

1313
[1]: https://mmistakes.github.io/minimal-mistakes/
14-
[2]: images/mm-browser-mockups.png (live preview)
14+
[2]: screenshot.png (live preview)
1515

16-
The theme includes responsive layouts (`single`, `archive`, and `splash` pages) that look great on mobile and desktop browsers.
16+
![layout examples](screenshot-layouts.png)
1717

18-
![layout examples](images/mm-layout-examples.png)
19-
20-
## [Installation and Setup](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/) / [Preview the Theme](https://mmistakes.github.io/minimal-mistakes/)
21-
22-
### Notable Features
18+
## Notable Features
2319

20+
- "Gemified" for easier install/upgrading
2421
- Compatible with Jekyll 3.x and GitHub Pages
2522
- Support for Jekyll's built-in Sass/SCSS preprocessor
26-
- Several layout options (single, archive, splash pages)
23+
- Several responsive layout options (single, archive index, splash, and paginated home page)
2724
- SEO optimized with support for [Twitter Cards](https://dev.twitter.com/cards/overview) and [Open Graph](http://ogp.me/) data
28-
- Optional header images, sidebars, table of contents, galleries, related posts, breadcrumb links, and more.
29-
- Optional comments ([Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), static-based via [Staticman](https://staticman.net/), and custom).
30-
- Optional analytics ([Google Analytics](https://www.google.com/analytics/) and custom).
31-
- UI localized text: English (default), Spanish, French, and Turkish.
25+
- Optional [header images](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#headers), [custom sidebars](https://mmistakes.github.io/minimal-mistakes/docs/layouts/#sidebars), [table of contents](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#table-of-contents), [galleries](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#gallery), related posts, [breadcrumb links](https://mmistakes.github.io/minimal-mistakes/docs/configuration/#breadcrumb-navigation-beta), [navigation lists](https://mmistakes.github.io/minimal-mistakes/docs/helpers/#navigation-list), and more.
26+
- Commenting support (powered by [Disqus](https://disqus.com/), [Facebook](https://developers.facebook.com/docs/plugins/comments), Google+, [Discourse](https://www.discourse.org/), static-based via [Staticman](https://staticman.net/), and custom).
27+
- [Google Analytics](https://www.google.com/analytics/) support.
28+
- UI localized text in English (default), Brazilian Portguese, Chinese, French, German, Italian, Spanish, and Turkish
3229

33-
#### Demo Pages
30+
## Demo Pages
3431

3532
| Name | Description |
3633
| ------------------------------------------- | ----------------------------------------------------- |
@@ -42,7 +39,7 @@ The theme includes responsive layouts (`single`, `archive`, and `splash` pages)
4239
| [Categories Archive][categories-archive] | Posts grouped by category. |
4340
| [Tags Archive][tags-archive] | Posts grouped by tags. |
4441

45-
For even more demo pages check the [posts archive][year-archive].
42+
For even more demo pages check the [posts archive][year-archive] on the demo site. Looking for the source code to peep the YAML Front Matter and Markdown used? Check the [`gh-pages`](https://github.com/mmistakes/minimal-mistakes/tree/gh-pages) branch.
4643

4744
[header-image-post]: https://mmistakes.github.io/minimal-mistakes/layout-header-image-text-readability/
4845
[gallery-post]: https://mmistakes.github.io/minimal-mistakes/post%20formats/post-gallery/
@@ -53,6 +50,32 @@ For even more demo pages check the [posts archive][year-archive].
5350
[tags-archive]: https://mmistakes.github.io/minimal-mistakes/tags/
5451
[year-archive]: https://mmistakes.github.io/minimal-mistakes/year-archive/
5552

53+
## Quick Start
54+
55+
Add this line to your Jekyll site's `Gemfile`:
56+
57+
```ruby
58+
gem "minimal-mistakes-jekyll"
59+
```
60+
61+
Add this line to your Jekyll site's `_config.yml` file:
62+
63+
```yaml
64+
theme: minimal-mistakes-jekyll
65+
```
66+
67+
Run Bundler:
68+
69+
```bash
70+
bundle install
71+
```
72+
73+
## Usage
74+
75+
For detailed instructions on how to configure, customize, add content, and more read the [theme's documentation](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/).
76+
77+
**Note:** Gem version of the theme requires Jekyll v3.3+ and is not supported with sites hosted with [GitHub Pages](https://pages.github.com/). You can still use the theme on GitHub Pages, you'll just need to install using the old "[repo fork method](https://mmistakes.github.io/minimal-mistakes/docs/installation/)".
78+
5679
---
5780

5881
## Contributing
@@ -67,6 +90,8 @@ This goes for author sidebar links and "share button" additions -- I have no int
6790

6891
To help me out try to avoid creating pull requests on `master` and instead branch off of `develop`. It's much easier for me to test, merge, and roll them into new releases this way.
6992

93+
Theme documentation and demo pages can be found in the `gh-pages` branch, please submit pull requests against that branch.
94+
7095
---
7196

7297
## Credits

_config.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ description : "An amazing website."
1414
url : # the base hostname & protocol for your site e.g. "https://mmistakes.github.io"
1515
baseurl : # the subpath of your site, e.g. "/blog"
1616
repository : # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes"
17-
teaser : # filename of teaser fallback teaser image placed in /images/, .e.g. "500x300.png"
17+
teaser : # path of fallback teaser image, e.g. "/assets/images/500x300.png"
1818
# breadcrumbs : false # true, false (default)
1919
words_per_minute : 200
2020
comments:
@@ -78,7 +78,7 @@ analytics:
7878
# Site Author
7979
author:
8080
name : "Your Name"
81-
avatar : "bio-photo.jpg"
81+
avatar : # path of avatar image, e.g. "/assets/images/bio-photo.jpg"
8282
bio : "I am an amazing person."
8383
location : "Somewhere"
8484
email :
@@ -226,4 +226,19 @@ tag_archive:
226226
compress_html:
227227
clippings: all
228228
ignore:
229-
envs: development
229+
envs: development
230+
231+
232+
# Defaults
233+
defaults:
234+
# _posts
235+
- scope:
236+
path: ""
237+
type: posts
238+
values:
239+
layout: single
240+
author_profile: true
241+
read_time: true
242+
comments: # true
243+
share: true
244+
related: true

_data/navigation.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
# main links links
22
main:
3-
- title: "Sample Navigation Link"
4-
url: https://mmistakes.github.io/minimal-mistakes/docs/navigation/
5-
6-
- title: "Sample Navigation Link 2"
7-
url: /
3+
- title: "Quick-Start Guide"
4+
url: https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
5+
- title: "About"
6+
url: https://mmistakes.github.io/minimal-mistakes/about/
7+
- title: "Sample Posts"
8+
url: /year-archive/
9+
- title: "Sample Collections"
10+
url: /collection-archive/
11+
- title: "Sitemap"
12+
url: /sitemap/

0 commit comments

Comments
 (0)