minimal-mistakes-jekyll 4.2.1 → 4.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/README.md +156 -156
- data/_includes/comments.html +4 -1
- data/_includes/head.html +15 -0
- data/_includes/masthead.html +2 -2
- data/_includes/seo.html +3 -1
- data/_layouts/default.html +34 -28
- data/_sass/_archive.scss +237 -237
- data/_sass/_footer.scss +79 -79
- data/_sass/_forms.scss +390 -390
- data/_sass/_masthead.scss +24 -0
- data/_sass/_mixins.scss +52 -52
- data/_sass/_navigation.scss +43 -29
- data/_sass/_notices.scss +98 -98
- data/_sass/_page.scss +13 -6
- data/_sass/_print.scss +17 -17
- data/_sass/_sidebar.scss +230 -230
- data/_sass/_syntax.scss +1 -1
- data/_sass/_tables.scss +37 -37
- data/_sass/_utilities.scss +506 -506
- data/_sass/_variables.scss +2 -2
- data/assets/css/main.scss +75 -78
- data/assets/js/main.min.js +4 -4
- data/assets/js/plugins/jquery.greedy-navigation.js +55 -53
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c12f9fefd9e23906fe20a39d57c54a79d3647f3
|
4
|
+
data.tar.gz: 40ed84875e97a5002c1184ee9b4085d1cae57ea1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bdeeb9b3e3f8d556c1599aa2e6f7b2028549881ac70780b6b3acb510892a7cacf42a1298dbe4e1064a3c8825a23f2c07816a1f80210a99b529d679a6dbddfd4
|
7
|
+
data.tar.gz: 0310f5e8b46327d41d63ab691d0cbf9c1fb88b12c8cc268a42319ff1c4830dfb307b23bc6d49b210957716ae7fd367dd5996e03ba72f57922b31615d5f5e775c
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,23 @@
|
|
1
|
+
## [4.2.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.2.2)
|
2
|
+
|
3
|
+
### Enhancements
|
4
|
+
|
5
|
+
- Update [Greedy Navigation](https://github.com/lukejacksonn/GreedyNav) to flexbox version to make it more flexible when dealing with long site titles (`site.title`). [#836](https://github.com/mmistakes/minimal-mistakes/issues/836)
|
6
|
+
- Adjust `box-shadow` in navigation and author sidebar. [#576](https://github.com/mmistakes/minimal-mistakes/pull/576)
|
7
|
+
- Add Russian, Korean, and zh-TW localized UI text. [#815](https://github.com/mmistakes/minimal-mistakes/issues/815) [#834](https://github.com/mmistakes/minimal-mistakes/pull/834) [#838](https://github.com/mmistakes/minimal-mistakes/pull/838)
|
8
|
+
|
9
|
+
### Bug Fixes
|
10
|
+
|
11
|
+
- Fix Discourse embedded comments bug. [#823](https://github.com/mmistakes/minimal-mistakes/issues/823)
|
12
|
+
- Fix `seo_author` default value in `seo.html` and add `author` meta. [#858](https://github.com/mmistakes/minimal-mistakes/pull/858)
|
13
|
+
|
14
|
+
### Maintenance
|
15
|
+
|
16
|
+
- Add theme meta info to `_layouts/default.html` and `main.css`.
|
17
|
+
- Update README.
|
18
|
+
- Improve the pagination and taxonomy archive documentation. [#826](https://github.com/mmistakes/minimal-mistakes/pull/826)
|
19
|
+
- Add comments to `/docs/_config.yml` to clarify use of YAML references. [#847](https://github.com/mmistakes/minimal-mistakes/pull/847)
|
20
|
+
|
1
21
|
## [4.2.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.2.1)
|
2
22
|
|
3
23
|
### Enhancements
|
data/README.md
CHANGED
@@ -1,156 +1,156 @@
|
|
1
|
-
# [Minimal Mistakes Jekyll Theme](https://mmistakes.github.io/minimal-mistakes/)
|
2
|
-
|
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)
|
4
|
-
|
5
|
-
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:.
|
6
|
-
|
7
|
-
See what's new in the [CHANGELOG](CHANGELOG.md).
|
8
|
-
|
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.
|
10
|
-
|
11
|
-
[![Minimal Mistakes live preview][2]][1]
|
12
|
-
|
13
|
-
[1]: https://mmistakes.github.io/minimal-mistakes/
|
14
|
-
[2]: screenshot.png (live preview)
|
15
|
-
|
16
|
-
![layout examples](screenshot-layouts.png)
|
17
|
-
|
18
|
-
## Notable Features
|
19
|
-
|
20
|
-
- "Gemified" for easier install/upgrading
|
21
|
-
- Compatible with Jekyll 3.x and GitHub Pages
|
22
|
-
- Support for Jekyll's built-in Sass/SCSS preprocessor
|
23
|
-
- Several responsive layout options (single, archive index, splash, and paginated home page)
|
24
|
-
- SEO optimized with support for [Twitter Cards](https://dev.twitter.com/cards/overview) and [Open Graph](http://ogp.me/) data
|
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 Portuguese, Chinese, French, German, Italian, Nepali (Nepalese), Spanish, and Turkish
|
29
|
-
|
30
|
-
## Demo Pages
|
31
|
-
|
32
|
-
| Name | Description |
|
33
|
-
| ------------------------------------------- | ----------------------------------------------------- |
|
34
|
-
| [Post with Header Image][header-image-post] | A post with a large header image. |
|
35
|
-
| [HTML Tags and Formatting Post][html-tags-post] | A variety of common markup showing how the theme styles them. |
|
36
|
-
| [Syntax Highlighting Post][syntax-post] | Post displaying highlighted code. |
|
37
|
-
| [Post with a Gallery][gallery-post] | A post showing several images wrapped in `<figure>` elements. |
|
38
|
-
| [Sample Collection Page][sample-collection] | Single page from a collection. |
|
39
|
-
| [Categories Archive][categories-archive] | Posts grouped by category. |
|
40
|
-
| [Tags Archive][tags-archive] | Posts grouped by tags. |
|
41
|
-
|
42
|
-
Additional sample posts are available under [posts archive][year-archive] on the demo site. Source files for these (and the entire demo site) can be found in [`/docs`](docs).
|
43
|
-
|
44
|
-
[header-image-post]: https://mmistakes.github.io/minimal-mistakes/layout-header-image-text-readability/
|
45
|
-
[gallery-post]: https://mmistakes.github.io/minimal-mistakes/post%20formats/post-gallery/
|
46
|
-
[html-tags-post]: https://mmistakes.github.io/minimal-mistakes/markup/markup-html-tags-and-formatting/
|
47
|
-
[syntax-post]: https://mmistakes.github.io/minimal-mistakes/markup-syntax-highlighting/
|
48
|
-
[sample-collection]: https://mmistakes.github.io/minimal-mistakes/recipes/chocolate-chip-cookies/
|
49
|
-
[categories-archive]: https://mmistakes.github.io/minimal-mistakes/categories/
|
50
|
-
[tags-archive]: https://mmistakes.github.io/minimal-mistakes/tags/
|
51
|
-
[year-archive]: https://mmistakes.github.io/minimal-mistakes/year-archive/
|
52
|
-
|
53
|
-
## Usage
|
54
|
-
|
55
|
-
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/).
|
56
|
-
|
57
|
-
**Note:** Gem version of the theme requires Jekyll v3.3+ and is not currently supported on [GitHub Pages](https://pages.github.com/). You can still use the theme with GitHub Pages, you'll just need to install using the old "[repo fork method](https://mmistakes.github.io/minimal-mistakes/docs/installation/)".
|
58
|
-
|
59
|
-
## Quick Start
|
60
|
-
|
61
|
-
Add this line to your Jekyll site's `Gemfile`:
|
62
|
-
|
63
|
-
```ruby
|
64
|
-
gem "minimal-mistakes-jekyll"
|
65
|
-
```
|
66
|
-
|
67
|
-
Add this line to your Jekyll site's `_config.yml` file:
|
68
|
-
|
69
|
-
```yaml
|
70
|
-
theme: minimal-mistakes-jekyll
|
71
|
-
```
|
72
|
-
|
73
|
-
Then run Bundler to install the theme gem and dependencies:
|
74
|
-
|
75
|
-
```bash
|
76
|
-
bundle install
|
77
|
-
```
|
78
|
-
|
79
|
-
To update the theme run `bundle update`.
|
80
|
-
|
81
|
-
---
|
82
|
-
|
83
|
-
## Contributing
|
84
|
-
|
85
|
-
Having trouble working with the theme? Found a typo in the documentation? Interested in adding a feature or [fixing a bug](https://github.com/mmistakes/minimal-mistakes/issues)? Then by all means [submit an issue](https://github.com/mmistakes/minimal-mistakes/issues/new) or [pull request](https://help.github.com/articles/using-pull-requests/). If this is your first pull request, it may be helpful to read up on the [GitHub Flow](https://guides.github.com/introduction/flow/) first.
|
86
|
-
|
87
|
-
Minimal Mistakes has been designed as a base for you to customize and fit your site's unique needs. Please keep this in mind when requesting features and/or submitting pull requests. If it's not something that most people will use, I probably won't consider it. When in doubt ask.
|
88
|
-
|
89
|
-
This goes for author sidebar links and "share button" additions -- I have no intention of merging in every possibly option, the essentials are there to get you started :smile:.
|
90
|
-
|
91
|
-
### Pull Requests
|
92
|
-
|
93
|
-
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.
|
94
|
-
|
95
|
-
Theme documentation and demo pages can be found in the [`/docs`](docs) if submitting improvements, typo corrections, etc.
|
96
|
-
|
97
|
-
## Development
|
98
|
-
|
99
|
-
To set up your environment to develop this theme, run `bundle install`.
|
100
|
-
|
101
|
-
To test the theme, run `bundle exec rake preview` and open your browser at `http://localhost:4000/test/`. This starts a Jekyll server using
|
102
|
-
|
103
|
-
---
|
104
|
-
|
105
|
-
## Credits
|
106
|
-
|
107
|
-
### Creator
|
108
|
-
|
109
|
-
**Michael Rose**
|
110
|
-
|
111
|
-
- <https://mademistakes.com>
|
112
|
-
- <https://twitter.com/mmistakes>
|
113
|
-
- <https://github.com/mmistakes>
|
114
|
-
|
115
|
-
### Icons + Demo Images:
|
116
|
-
|
117
|
-
- [The Noun Project](https://thenounproject.com) -- Garrett Knoll, Arthur Shlain, and [tracy tam](https://thenounproject.com/tracytam)
|
118
|
-
- [Font Awesome](http://fortawesome.github.io/Font-Awesome/)
|
119
|
-
- [Unsplash](https://unsplash.com/)
|
120
|
-
|
121
|
-
### Other:
|
122
|
-
|
123
|
-
- [Jekyll](http://jekyllrb.com/)
|
124
|
-
- [jQuery](http://jquery.com/)
|
125
|
-
- [Susy](http://susy.oddbird.net/)
|
126
|
-
- [Breakpoint](http://breakpoint-sass.com/)
|
127
|
-
- [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/)
|
128
|
-
- [FitVids.JS](http://fitvidsjs.com/)
|
129
|
-
- Greedy Navigation - [lukejacksonn](http://codepen.io/lukejacksonn/pen/PwmwWV)
|
130
|
-
- [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll)
|
131
|
-
|
132
|
-
---
|
133
|
-
|
134
|
-
## License
|
135
|
-
|
136
|
-
The MIT License (MIT)
|
137
|
-
|
138
|
-
Copyright (c) 2016 Michael Rose
|
139
|
-
|
140
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
141
|
-
of this software and associated documentation files (the "Software"), to deal
|
142
|
-
in the Software without restriction, including without limitation the rights
|
143
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
144
|
-
copies of the Software, and to permit persons to whom the Software is
|
145
|
-
furnished to do so, subject to the following conditions:
|
146
|
-
|
147
|
-
The above copyright notice and this permission notice shall be included in all
|
148
|
-
copies or substantial portions of the Software.
|
149
|
-
|
150
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
151
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
152
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
153
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
154
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
155
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
156
|
-
SOFTWARE.
|
1
|
+
# [Minimal Mistakes Jekyll Theme](https://mmistakes.github.io/minimal-mistakes/)
|
2
|
+
|
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)
|
4
|
+
|
5
|
+
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:.
|
6
|
+
|
7
|
+
See what's new in the [CHANGELOG](CHANGELOG.md).
|
8
|
+
|
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.
|
10
|
+
|
11
|
+
[![Minimal Mistakes live preview][2]][1]
|
12
|
+
|
13
|
+
[1]: https://mmistakes.github.io/minimal-mistakes/
|
14
|
+
[2]: screenshot.png (live preview)
|
15
|
+
|
16
|
+
![layout examples](screenshot-layouts.png)
|
17
|
+
|
18
|
+
## Notable Features
|
19
|
+
|
20
|
+
- "Gemified" for easier install/upgrading
|
21
|
+
- Compatible with Jekyll 3.x and GitHub Pages
|
22
|
+
- Support for Jekyll's built-in Sass/SCSS preprocessor
|
23
|
+
- Several responsive layout options (single, archive index, splash, and paginated home page)
|
24
|
+
- SEO optimized with support for [Twitter Cards](https://dev.twitter.com/cards/overview) and [Open Graph](http://ogp.me/) data
|
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 Portuguese, Chinese, French, German, Italian, Korean, Nepali (Nepalese), Russian, Spanish, and Turkish
|
29
|
+
|
30
|
+
## Demo Pages
|
31
|
+
|
32
|
+
| Name | Description |
|
33
|
+
| ------------------------------------------- | ----------------------------------------------------- |
|
34
|
+
| [Post with Header Image][header-image-post] | A post with a large header image. |
|
35
|
+
| [HTML Tags and Formatting Post][html-tags-post] | A variety of common markup showing how the theme styles them. |
|
36
|
+
| [Syntax Highlighting Post][syntax-post] | Post displaying highlighted code. |
|
37
|
+
| [Post with a Gallery][gallery-post] | A post showing several images wrapped in `<figure>` elements. |
|
38
|
+
| [Sample Collection Page][sample-collection] | Single page from a collection. |
|
39
|
+
| [Categories Archive][categories-archive] | Posts grouped by category. |
|
40
|
+
| [Tags Archive][tags-archive] | Posts grouped by tags. |
|
41
|
+
|
42
|
+
Additional sample posts are available under [posts archive][year-archive] on the demo site. Source files for these (and the entire demo site) can be found in [`/docs`](docs).
|
43
|
+
|
44
|
+
[header-image-post]: https://mmistakes.github.io/minimal-mistakes/layout-header-image-text-readability/
|
45
|
+
[gallery-post]: https://mmistakes.github.io/minimal-mistakes/post%20formats/post-gallery/
|
46
|
+
[html-tags-post]: https://mmistakes.github.io/minimal-mistakes/markup/markup-html-tags-and-formatting/
|
47
|
+
[syntax-post]: https://mmistakes.github.io/minimal-mistakes/markup-syntax-highlighting/
|
48
|
+
[sample-collection]: https://mmistakes.github.io/minimal-mistakes/recipes/chocolate-chip-cookies/
|
49
|
+
[categories-archive]: https://mmistakes.github.io/minimal-mistakes/categories/
|
50
|
+
[tags-archive]: https://mmistakes.github.io/minimal-mistakes/tags/
|
51
|
+
[year-archive]: https://mmistakes.github.io/minimal-mistakes/year-archive/
|
52
|
+
|
53
|
+
## Usage
|
54
|
+
|
55
|
+
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/).
|
56
|
+
|
57
|
+
**Note:** Gem version of the theme requires Jekyll v3.3+ and is not currently supported on [GitHub Pages](https://pages.github.com/). You can still use the theme with GitHub Pages, you'll just need to install using the old "[repo fork method](https://mmistakes.github.io/minimal-mistakes/docs/installation/)".
|
58
|
+
|
59
|
+
## Quick Start
|
60
|
+
|
61
|
+
Add this line to your Jekyll site's `Gemfile`:
|
62
|
+
|
63
|
+
```ruby
|
64
|
+
gem "minimal-mistakes-jekyll"
|
65
|
+
```
|
66
|
+
|
67
|
+
Add this line to your Jekyll site's `_config.yml` file:
|
68
|
+
|
69
|
+
```yaml
|
70
|
+
theme: minimal-mistakes-jekyll
|
71
|
+
```
|
72
|
+
|
73
|
+
Then run Bundler to install the theme gem and dependencies:
|
74
|
+
|
75
|
+
```bash
|
76
|
+
bundle install
|
77
|
+
```
|
78
|
+
|
79
|
+
To update the theme run `bundle update`.
|
80
|
+
|
81
|
+
---
|
82
|
+
|
83
|
+
## Contributing
|
84
|
+
|
85
|
+
Having trouble working with the theme? Found a typo in the documentation? Interested in adding a feature or [fixing a bug](https://github.com/mmistakes/minimal-mistakes/issues)? Then by all means [submit an issue](https://github.com/mmistakes/minimal-mistakes/issues/new) or [pull request](https://help.github.com/articles/using-pull-requests/). If this is your first pull request, it may be helpful to read up on the [GitHub Flow](https://guides.github.com/introduction/flow/) first.
|
86
|
+
|
87
|
+
Minimal Mistakes has been designed as a base for you to customize and fit your site's unique needs. Please keep this in mind when requesting features and/or submitting pull requests. If it's not something that most people will use, I probably won't consider it. When in doubt ask.
|
88
|
+
|
89
|
+
This goes for author sidebar links and "share button" additions -- I have no intention of merging in every possibly option, the essentials are there to get you started :smile:.
|
90
|
+
|
91
|
+
### Pull Requests
|
92
|
+
|
93
|
+
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.
|
94
|
+
|
95
|
+
Theme documentation and demo pages can be found in the [`/docs`](docs) if submitting improvements, typo corrections, etc.
|
96
|
+
|
97
|
+
## Development
|
98
|
+
|
99
|
+
To set up your environment to develop this theme, run `bundle install`.
|
100
|
+
|
101
|
+
To test the theme, run `bundle exec rake preview` and open your browser at `http://localhost:4000/test/`. This starts a Jekyll server using content in the `test/` directory. As modifications are made to the theme and test site, it will regenerate and you should see the changes in the browser after a refresh.
|
102
|
+
|
103
|
+
---
|
104
|
+
|
105
|
+
## Credits
|
106
|
+
|
107
|
+
### Creator
|
108
|
+
|
109
|
+
**Michael Rose**
|
110
|
+
|
111
|
+
- <https://mademistakes.com>
|
112
|
+
- <https://twitter.com/mmistakes>
|
113
|
+
- <https://github.com/mmistakes>
|
114
|
+
|
115
|
+
### Icons + Demo Images:
|
116
|
+
|
117
|
+
- [The Noun Project](https://thenounproject.com) -- Garrett Knoll, Arthur Shlain, and [tracy tam](https://thenounproject.com/tracytam)
|
118
|
+
- [Font Awesome](http://fortawesome.github.io/Font-Awesome/)
|
119
|
+
- [Unsplash](https://unsplash.com/)
|
120
|
+
|
121
|
+
### Other:
|
122
|
+
|
123
|
+
- [Jekyll](http://jekyllrb.com/)
|
124
|
+
- [jQuery](http://jquery.com/)
|
125
|
+
- [Susy](http://susy.oddbird.net/)
|
126
|
+
- [Breakpoint](http://breakpoint-sass.com/)
|
127
|
+
- [Magnific Popup](http://dimsemenov.com/plugins/magnific-popup/)
|
128
|
+
- [FitVids.JS](http://fitvidsjs.com/)
|
129
|
+
- Greedy Navigation - [lukejacksonn](http://codepen.io/lukejacksonn/pen/PwmwWV)
|
130
|
+
- [jQuery Smooth Scroll](https://github.com/kswedberg/jquery-smooth-scroll)
|
131
|
+
|
132
|
+
---
|
133
|
+
|
134
|
+
## License
|
135
|
+
|
136
|
+
The MIT License (MIT)
|
137
|
+
|
138
|
+
Copyright (c) 2016 Michael Rose
|
139
|
+
|
140
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
141
|
+
of this software and associated documentation files (the "Software"), to deal
|
142
|
+
in the Software without restriction, including without limitation the rights
|
143
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
144
|
+
copies of the Software, and to permit persons to whom the Software is
|
145
|
+
furnished to do so, subject to the following conditions:
|
146
|
+
|
147
|
+
The above copyright notice and this permission notice shall be included in all
|
148
|
+
copies or substantial portions of the Software.
|
149
|
+
|
150
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
151
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
152
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
153
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
154
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
155
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
156
|
+
SOFTWARE.
|
data/_includes/comments.html
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
<div class="page__comments">
|
2
2
|
{% capture comments_label %}{{ site.data.ui-text[site.locale].comments_label | default: "Comments" }}{% endcapture %}
|
3
3
|
{% case site.comments.provider %}
|
4
|
+
{% when "discourse" %}
|
5
|
+
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
6
|
+
<section id="discourse-comments"></section>
|
4
7
|
{% when "disqus" %}
|
5
8
|
<h4 class="page__comments-title">{{ comments_label }}</h4>
|
6
9
|
<section id="disqus_thread"></section>
|
@@ -77,4 +80,4 @@
|
|
77
80
|
{% when "custom" %}
|
78
81
|
<section id="custom-comments"></section>
|
79
82
|
{% endcase %}
|
80
|
-
</div>
|
83
|
+
</div>
|
data/_includes/head.html
CHANGED
@@ -16,4 +16,19 @@
|
|
16
16
|
<!-- For all browsers -->
|
17
17
|
<link rel="stylesheet" href="{{ '/assets/css/main.css' | absolute_url }}">
|
18
18
|
|
19
|
+
<!--[if lte IE 9]>
|
20
|
+
<style>
|
21
|
+
/* old IE unsupported flexbox fixes */
|
22
|
+
.greedy-nav .site-title {
|
23
|
+
padding-right: 3em;
|
24
|
+
}
|
25
|
+
.greedy-nav button {
|
26
|
+
position: absolute;
|
27
|
+
top: 0;
|
28
|
+
right: 0;
|
29
|
+
height: 100%;
|
30
|
+
}
|
31
|
+
</style>
|
32
|
+
<![endif]-->
|
33
|
+
|
19
34
|
<meta http-equiv="cleartype" content="on">
|
data/_includes/masthead.html
CHANGED
@@ -2,9 +2,8 @@
|
|
2
2
|
<div class="masthead__inner-wrap">
|
3
3
|
<div class="masthead__menu">
|
4
4
|
<nav id="site-nav" class="greedy-nav">
|
5
|
-
<
|
5
|
+
<a class="site-title" href="{{ '/' | absolute_url }}">{{ site.title }}</a>
|
6
6
|
<ul class="visible-links">
|
7
|
-
<li class="masthead__menu-item masthead__menu-item--lg"><a href="{{ '/' | absolute_url }}">{{ site.title }}</a></li>
|
8
7
|
{% for link in site.data.navigation.main %}
|
9
8
|
{% if link.url contains 'http' %}
|
10
9
|
{% assign domain = '' %}
|
@@ -14,6 +13,7 @@
|
|
14
13
|
<li class="masthead__menu-item"><a href="{{ domain }}{{ link.url }}">{{ link.title }}</a></li>
|
15
14
|
{% endfor %}
|
16
15
|
</ul>
|
16
|
+
<button><div class="navicon"></div></button>
|
17
17
|
<ul class="hidden-links hidden"></ul>
|
18
18
|
</nav>
|
19
19
|
</div>
|
data/_includes/seo.html
CHANGED
@@ -25,7 +25,7 @@
|
|
25
25
|
|
26
26
|
<meta name="description" content="{{ seo_description }}">
|
27
27
|
|
28
|
-
{% assign seo_author = page.author | default: page.author[0] | default: site.author
|
28
|
+
{% assign seo_author = page.author | default: page.author[0] | default: site.author.name %}
|
29
29
|
{% if seo_author %}
|
30
30
|
{% if seo_author.twitter %}
|
31
31
|
{% assign seo_author_twitter = seo_author.twitter %}
|
@@ -39,6 +39,8 @@
|
|
39
39
|
{% assign seo_author_twitter = seo_author_twitter | replace: "@", "" %}
|
40
40
|
{% endif %}
|
41
41
|
|
42
|
+
<meta name="author" content="{{ seo_author }}">
|
43
|
+
|
42
44
|
<meta property="og:locale" content="{{ site.locale | replace: "-", "_" | default: "en" }}">
|
43
45
|
<meta property="og:site_name" content="{{ site.title }}">
|
44
46
|
<meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
|
data/_layouts/default.html
CHANGED
@@ -1,28 +1,34 @@
|
|
1
|
-
---
|
2
|
-
---
|
3
|
-
|
4
|
-
<!doctype html>
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
{% include
|
14
|
-
{% include
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
</
|
1
|
+
---
|
2
|
+
---
|
3
|
+
|
4
|
+
<!doctype html>
|
5
|
+
<!--
|
6
|
+
Minimal Mistakes Jekyll Theme 4.2.2 by Michael Rose
|
7
|
+
Copyright 2017 Michael Rose - mademistakes.com | @mmistakes
|
8
|
+
Free for personal and commercial use under the MIT license
|
9
|
+
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt
|
10
|
+
-->
|
11
|
+
<html lang="{{ site.locale | slice: 0,2 | default: "en" }}" class="no-js">
|
12
|
+
<head>
|
13
|
+
{% include head.html %}
|
14
|
+
{% include head/custom.html %}
|
15
|
+
</head>
|
16
|
+
|
17
|
+
<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
|
18
|
+
|
19
|
+
{% include browser-upgrade.html %}
|
20
|
+
{% include masthead.html %}
|
21
|
+
|
22
|
+
{{ content }}
|
23
|
+
|
24
|
+
<div class="page__footer">
|
25
|
+
<footer>
|
26
|
+
{% include footer/custom.html %}
|
27
|
+
{% include footer.html %}
|
28
|
+
</footer>
|
29
|
+
</div>
|
30
|
+
|
31
|
+
{% include scripts.html %}
|
32
|
+
|
33
|
+
</body>
|
34
|
+
</html>
|