minimal-mistakes-jekyll 4.2.2 → 4.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1c12f9fefd9e23906fe20a39d57c54a79d3647f3
4
- data.tar.gz: 40ed84875e97a5002c1184ee9b4085d1cae57ea1
3
+ metadata.gz: 484226ebcdb0141c56fadc3f5a28798ffe96d88d
4
+ data.tar.gz: ee5822f84a5b718895b65e29b82d2a6ca027b82d
5
5
  SHA512:
6
- metadata.gz: 1bdeeb9b3e3f8d556c1599aa2e6f7b2028549881ac70780b6b3acb510892a7cacf42a1298dbe4e1064a3c8825a23f2c07816a1f80210a99b529d679a6dbddfd4
7
- data.tar.gz: 0310f5e8b46327d41d63ab691d0cbf9c1fb88b12c8cc268a42319ff1c4830dfb307b23bc6d49b210957716ae7fd367dd5996e03ba72f57922b31615d5f5e775c
6
+ metadata.gz: 40fdfeb1c550ea49f459809e2c23ff67579fdf836e34eaa5194a8b2e23b03b79f9eaaf908984967f65911f1d97b592cdf3dd998c67cdfb716638a5ea8e56462f
7
+ data.tar.gz: 2e08ed915bcef8ecd633d57c9f6f168e74bdce744e2b6ea8745b254e1873bad91c3cf3351410464d25d6d3e45910fe69ce0c771b2a50d8e16d7872f60c7d39a7
@@ -1,3 +1,17 @@
1
+ ## [4.3.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.3.0)
2
+
3
+ ### Enhancements
4
+
5
+ - Add workaround to allow theme gem's `/assets/js/main.min.js` file to be overridden by a local version. Simply add the following YAML Front Matter to the file:
6
+
7
+ ```
8
+ ---
9
+ layout:
10
+ ---
11
+ ```
12
+
13
+ Any local customizations you make to `/assets/js/main.min.js` should now replace the theme gem's version.
14
+
1
15
  ## [4.2.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.2.2)
2
16
 
3
17
  ### 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, 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.
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.
@@ -41,7 +41,7 @@
41
41
 
42
42
  <meta name="author" content="{{ seo_author }}">
43
43
 
44
- <meta property="og:locale" content="{{ site.locale | replace: "-", "_" | default: "en" }}">
44
+ <meta property="og:locale" content="{{ site.locale | replace: "-", "_" | default: "en_US" }}">
45
45
  <meta property="og:site_name" content="{{ site.title }}">
46
46
  <meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
47
47
 
@@ -1,34 +1,34 @@
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>
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>
@@ -1,231 +1,231 @@
1
- /* ==========================================================================
2
- SIDEBAR
3
- ========================================================================== */
4
-
5
- /*
6
- Default
7
- ========================================================================== */
8
-
9
- .sidebar {
10
- -webkit-transform: translate3d(0, 0 , 0);
11
- transform: translate3d(0, 0 , 0);
12
-
13
- @include clearfix();
14
- margin-bottom: 1em;
15
-
16
- @include breakpoint($large) {
17
- @include span(2 of 12);
18
- opacity: 0.75;
19
- -webkit-transition: opacity 0.2s ease-in-out;
20
- transition: opacity 0.2s ease-in-out;
21
-
22
- &:hover {
23
- opacity: 1;
24
- }
25
- }
26
-
27
- @include breakpoint($x-large) {
28
- padding-right: 0;
29
- }
30
-
31
- h2, h3, h4, h5, h6 {
32
- margin-bottom: 0;
33
- font-family: $sans-serif-narrow;
34
- }
35
-
36
- p, li {
37
- font-family: $sans-serif;
38
- font-size: $type-size-6;
39
- line-height: 1.5;
40
- }
41
-
42
- img {
43
- width: 100%;
44
- }
45
- }
46
-
47
- .sidebar__right {
48
- margin-bottom: 1em;
49
-
50
- @include breakpoint($large) {
51
- position: relative;
52
- float: right;
53
- width: $right-sidebar-width-narrow;
54
- margin-left: span(0.5 of 12);
55
- z-index: 10;
56
- }
57
-
58
- @include breakpoint($x-large) {
59
- width: $right-sidebar-width;
60
- }
61
- }
62
-
63
- /*
64
- Author profile and links
65
- ========================================================================== */
66
-
67
- .author__avatar {
68
- display: table-cell;
69
- vertical-align: top;
70
- width: 36px;
71
- height: 36px;
72
-
73
- @include breakpoint($large) {
74
- display: block;
75
- width: auto;
76
- height: auto;
77
- }
78
-
79
- img {
80
- max-width: 110px;
81
- border-radius: 50%;
82
-
83
- @include breakpoint($large) {
84
- padding: 5px;
85
- border: 1px solid $border-color;
86
- }
87
- }
88
- }
89
-
90
- .author__content {
91
- display: table-cell;
92
- vertical-align: top;
93
- padding-left: 15px;
94
- padding-right: 25px;
95
- line-height: 1;
96
-
97
- @include breakpoint($large) {
98
- display: block;
99
- width: 100%;
100
- padding-left: 0;
101
- padding-right: 0;
102
- }
103
- }
104
-
105
- .author__name {
106
- margin: 0;
107
-
108
- @include breakpoint($large) {
109
- margin-top: 10px;
110
- margin-bottom: 10px;
111
- }
112
- }
113
- .sidebar .author__name {
114
- font-family: $sans-serif;
115
- font-size: $type-size-5;
116
- }
117
-
118
- .author__bio {
119
- margin: 0;
120
-
121
- @include breakpoint($large) {
122
- margin-top: 10px;
123
- margin-bottom: 20px;
124
- }
125
- }
126
-
127
- .author__urls-wrapper {
128
- position: relative;
129
- display: table-cell;
130
- vertical-align: middle;
131
- font-family: $sans-serif;
132
- z-index: 10;
133
- position: relative;
134
- cursor: pointer;
135
-
136
- li:last-child {
137
- a {
138
- margin-bottom: 0;
139
- }
140
- }
141
-
142
- @include breakpoint($large) {
143
- display: block;
144
- }
145
-
146
- button {
147
- margin-bottom: 0;
148
-
149
- @include breakpoint($large) {
150
- display: none;
151
- }
152
- }
153
- }
154
-
155
- .author__urls {
156
- display: none;
157
- position: absolute;
158
- right: 0;
159
- margin-top: 15px;
160
- padding: 10px;
161
- list-style-type: none;
162
- border: 1px solid $border-color;
163
- border-radius: $border-radius;
164
- background: #fff;
165
- z-index: -1;
166
- box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
167
- cursor: default;
168
-
169
- @include breakpoint($large) {
170
- display: block;
171
- position: relative;
172
- margin: 0;
173
- padding: 0;
174
- border: 0;
175
- background: transparent;
176
- box-shadow: none;
177
- }
178
-
179
- &:before {
180
- display: block;
181
- content: "";
182
- position: absolute;
183
- top: -11px;
184
- left: calc(50% - 10px);
185
- width: 0;
186
- border-style: solid;
187
- border-width: 0 10px 10px;
188
- border-color: $border-color transparent;
189
- z-index: 0;
190
-
191
- @include breakpoint($large) {
192
- display: none;
193
- }
194
- }
195
-
196
- &:after {
197
- display: block;
198
- content: "";
199
- position: absolute;
200
- top: -10px;
201
- left: calc(50% - 10px);
202
- width: 0;
203
- border-style: solid;
204
- border-width: 0 10px 10px;
205
- border-color: #fff transparent;
206
- z-index: 1;
207
-
208
- @include breakpoint($large) {
209
- display: none;
210
- }
211
- }
212
-
213
- li {
214
- white-space: nowrap;
215
- }
216
-
217
- a {
218
- display: block;
219
- margin-bottom: 5px;
220
- padding-right: 5px;
221
- padding-top: 2px;
222
- padding-bottom: 2px;
223
- color: inherit;
224
- font-size: $type-size-5;
225
- text-decoration: none;
226
-
227
- &:hover {
228
- text-decoration: underline;
229
- }
230
- }
1
+ /* ==========================================================================
2
+ SIDEBAR
3
+ ========================================================================== */
4
+
5
+ /*
6
+ Default
7
+ ========================================================================== */
8
+
9
+ .sidebar {
10
+ -webkit-transform: translate3d(0, 0 , 0);
11
+ transform: translate3d(0, 0 , 0);
12
+
13
+ @include clearfix();
14
+ margin-bottom: 1em;
15
+
16
+ @include breakpoint($large) {
17
+ @include span(2 of 12);
18
+ opacity: 0.75;
19
+ -webkit-transition: opacity 0.2s ease-in-out;
20
+ transition: opacity 0.2s ease-in-out;
21
+
22
+ &:hover {
23
+ opacity: 1;
24
+ }
25
+ }
26
+
27
+ @include breakpoint($x-large) {
28
+ padding-right: 0;
29
+ }
30
+
31
+ h2, h3, h4, h5, h6 {
32
+ margin-bottom: 0;
33
+ font-family: $sans-serif-narrow;
34
+ }
35
+
36
+ p, li {
37
+ font-family: $sans-serif;
38
+ font-size: $type-size-6;
39
+ line-height: 1.5;
40
+ }
41
+
42
+ img {
43
+ width: 100%;
44
+ }
45
+ }
46
+
47
+ .sidebar__right {
48
+ margin-bottom: 1em;
49
+
50
+ @include breakpoint($large) {
51
+ position: relative;
52
+ float: right;
53
+ width: $right-sidebar-width-narrow;
54
+ margin-left: span(0.5 of 12);
55
+ z-index: 10;
56
+ }
57
+
58
+ @include breakpoint($x-large) {
59
+ width: $right-sidebar-width;
60
+ }
61
+ }
62
+
63
+ /*
64
+ Author profile and links
65
+ ========================================================================== */
66
+
67
+ .author__avatar {
68
+ display: table-cell;
69
+ vertical-align: top;
70
+ width: 36px;
71
+ height: 36px;
72
+
73
+ @include breakpoint($large) {
74
+ display: block;
75
+ width: auto;
76
+ height: auto;
77
+ }
78
+
79
+ img {
80
+ max-width: 110px;
81
+ border-radius: 50%;
82
+
83
+ @include breakpoint($large) {
84
+ padding: 5px;
85
+ border: 1px solid $border-color;
86
+ }
87
+ }
88
+ }
89
+
90
+ .author__content {
91
+ display: table-cell;
92
+ vertical-align: top;
93
+ padding-left: 15px;
94
+ padding-right: 25px;
95
+ line-height: 1;
96
+
97
+ @include breakpoint($large) {
98
+ display: block;
99
+ width: 100%;
100
+ padding-left: 0;
101
+ padding-right: 0;
102
+ }
103
+ }
104
+
105
+ .author__name {
106
+ margin: 0;
107
+
108
+ @include breakpoint($large) {
109
+ margin-top: 10px;
110
+ margin-bottom: 10px;
111
+ }
112
+ }
113
+ .sidebar .author__name {
114
+ font-family: $sans-serif;
115
+ font-size: $type-size-5;
116
+ }
117
+
118
+ .author__bio {
119
+ margin: 0;
120
+
121
+ @include breakpoint($large) {
122
+ margin-top: 10px;
123
+ margin-bottom: 20px;
124
+ }
125
+ }
126
+
127
+ .author__urls-wrapper {
128
+ position: relative;
129
+ display: table-cell;
130
+ vertical-align: middle;
131
+ font-family: $sans-serif;
132
+ z-index: 10;
133
+ position: relative;
134
+ cursor: pointer;
135
+
136
+ li:last-child {
137
+ a {
138
+ margin-bottom: 0;
139
+ }
140
+ }
141
+
142
+ @include breakpoint($large) {
143
+ display: block;
144
+ }
145
+
146
+ button {
147
+ margin-bottom: 0;
148
+
149
+ @include breakpoint($large) {
150
+ display: none;
151
+ }
152
+ }
153
+ }
154
+
155
+ .author__urls {
156
+ display: none;
157
+ position: absolute;
158
+ right: 0;
159
+ margin-top: 15px;
160
+ padding: 10px;
161
+ list-style-type: none;
162
+ border: 1px solid $border-color;
163
+ border-radius: $border-radius;
164
+ background: #fff;
165
+ z-index: -1;
166
+ box-shadow: 0 2px 4px 0 rgba(#000, 0.16), 0 2px 10px 0 rgba(#000, 0.12);
167
+ cursor: default;
168
+
169
+ @include breakpoint($large) {
170
+ display: block;
171
+ position: relative;
172
+ margin: 0;
173
+ padding: 0;
174
+ border: 0;
175
+ background: transparent;
176
+ box-shadow: none;
177
+ }
178
+
179
+ &:before {
180
+ display: block;
181
+ content: "";
182
+ position: absolute;
183
+ top: -11px;
184
+ left: calc(50% - 10px);
185
+ width: 0;
186
+ border-style: solid;
187
+ border-width: 0 10px 10px;
188
+ border-color: $border-color transparent;
189
+ z-index: 0;
190
+
191
+ @include breakpoint($large) {
192
+ display: none;
193
+ }
194
+ }
195
+
196
+ &:after {
197
+ display: block;
198
+ content: "";
199
+ position: absolute;
200
+ top: -10px;
201
+ left: calc(50% - 10px);
202
+ width: 0;
203
+ border-style: solid;
204
+ border-width: 0 10px 10px;
205
+ border-color: #fff transparent;
206
+ z-index: 1;
207
+
208
+ @include breakpoint($large) {
209
+ display: none;
210
+ }
211
+ }
212
+
213
+ li {
214
+ white-space: nowrap;
215
+ }
216
+
217
+ a {
218
+ display: block;
219
+ margin-bottom: 5px;
220
+ padding-right: 5px;
221
+ padding-top: 2px;
222
+ padding-bottom: 2px;
223
+ color: inherit;
224
+ font-size: $type-size-5;
225
+ text-decoration: none;
226
+
227
+ &:hover {
228
+ text-decoration: underline;
229
+ }
230
+ }
231
231
  }