minimal-mistakes-jekyll 4.1.0 → 4.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (171) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -0
  3. data/LICENSE.txt +20 -20
  4. data/README.md +157 -157
  5. data/_includes/analytics-providers/custom.html +2 -2
  6. data/_includes/analytics-providers/google-universal.html +8 -8
  7. data/_includes/analytics-providers/google.html +10 -10
  8. data/_includes/analytics.html +11 -11
  9. data/_includes/archive-single.html +37 -37
  10. data/_includes/author-profile-custom-links.html +6 -6
  11. data/_includes/author-profile.html +241 -233
  12. data/_includes/base_path +4 -4
  13. data/_includes/breadcrumbs.html +38 -38
  14. data/_includes/browser-upgrade.html +2 -2
  15. data/_includes/category-list.html +25 -25
  16. data/_includes/comment.html +21 -21
  17. data/_includes/comments-providers/custom.html +2 -2
  18. data/_includes/comments-providers/discourse.html +13 -13
  19. data/_includes/comments-providers/disqus.html +21 -21
  20. data/_includes/comments-providers/facebook.html +7 -7
  21. data/_includes/comments-providers/google-plus.html +1 -1
  22. data/_includes/comments-providers/scripts.html +17 -17
  23. data/_includes/comments-providers/staticman.html +41 -41
  24. data/_includes/comments.html +79 -79
  25. data/_includes/feature_row +49 -49
  26. data/_includes/figure +12 -12
  27. data/_includes/footer.html +21 -21
  28. data/_includes/footer/custom.html +2 -2
  29. data/_includes/gallery +46 -46
  30. data/_includes/group-by-array +46 -46
  31. data/_includes/head.html +18 -18
  32. data/_includes/head/custom.html +4 -4
  33. data/_includes/masthead.html +20 -20
  34. data/_includes/nav_list +46 -46
  35. data/_includes/page__hero.html +52 -52
  36. data/_includes/page__taxonomy.html +6 -6
  37. data/_includes/paginator.html +67 -67
  38. data/_includes/post_pagination.html +13 -13
  39. data/_includes/read-time.html +14 -14
  40. data/_includes/scripts.html +4 -4
  41. data/_includes/seo.html +145 -145
  42. data/_includes/sidebar.html +22 -22
  43. data/_includes/social-share.html +13 -13
  44. data/_includes/tag-list.html +25 -25
  45. data/_includes/toc +6 -6
  46. data/_layouts/archive-taxonomy.html +14 -14
  47. data/_layouts/archive.html +23 -23
  48. data/_layouts/compress.html +10 -10
  49. data/_layouts/default.html +28 -28
  50. data/_layouts/home.html +11 -11
  51. data/_layouts/single.html +73 -73
  52. data/_layouts/splash.html +19 -19
  53. data/_sass/_archive.scss +237 -237
  54. data/_sass/_footer.scss +79 -79
  55. data/_sass/_forms.scss +390 -390
  56. data/_sass/_masthead.scss +52 -52
  57. data/_sass/_mixins.scss +52 -52
  58. data/_sass/_navigation.scss +543 -543
  59. data/_sass/_notices.scss +98 -98
  60. data/_sass/_page.scss +400 -400
  61. data/_sass/_print.scss +17 -17
  62. data/_sass/_reset.scss +186 -186
  63. data/_sass/_sidebar.scss +230 -230
  64. data/_sass/_syntax.scss +145 -145
  65. data/_sass/_tables.scss +37 -37
  66. data/_sass/_utilities.scss +469 -469
  67. data/_sass/_variables.scss +127 -127
  68. data/_sass/vendor/breakpoint/_breakpoint.scss +114 -114
  69. data/_sass/vendor/breakpoint/_context.scss +94 -94
  70. data/_sass/vendor/breakpoint/_helpers.scss +151 -151
  71. data/_sass/vendor/breakpoint/_legacy-settings.scss +49 -49
  72. data/_sass/vendor/breakpoint/_no-query.scss +15 -15
  73. data/_sass/vendor/breakpoint/_parsers.scss +215 -215
  74. data/_sass/vendor/breakpoint/_respond-to.scss +82 -82
  75. data/_sass/vendor/breakpoint/_settings.scss +70 -70
  76. data/_sass/vendor/breakpoint/parsers/_double.scss +33 -33
  77. data/_sass/vendor/breakpoint/parsers/_query.scss +82 -82
  78. data/_sass/vendor/breakpoint/parsers/_resolution.scss +31 -31
  79. data/_sass/vendor/breakpoint/parsers/_single.scss +26 -26
  80. data/_sass/vendor/breakpoint/parsers/_triple.scss +36 -36
  81. data/_sass/vendor/breakpoint/parsers/double/_default-pair.scss +21 -21
  82. data/_sass/vendor/breakpoint/parsers/double/_default.scss +22 -22
  83. data/_sass/vendor/breakpoint/parsers/double/_double-string.scss +21 -21
  84. data/_sass/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -60
  85. data/_sass/vendor/breakpoint/parsers/single/_default.scss +13 -13
  86. data/_sass/vendor/breakpoint/parsers/triple/_default.scss +18 -18
  87. data/_sass/vendor/font-awesome/_animated.scss +34 -34
  88. data/_sass/vendor/font-awesome/_bordered-pulled.scss +25 -25
  89. data/_sass/vendor/font-awesome/_core.scss +12 -12
  90. data/_sass/vendor/font-awesome/_fixed-width.scss +6 -6
  91. data/_sass/vendor/font-awesome/_font-awesome.scss +18 -18
  92. data/_sass/vendor/font-awesome/_icons.scss +789 -733
  93. data/_sass/vendor/font-awesome/_larger.scss +13 -13
  94. data/_sass/vendor/font-awesome/_list.scss +19 -19
  95. data/_sass/vendor/font-awesome/_mixins.scss +60 -60
  96. data/_sass/vendor/font-awesome/_path.scss +15 -15
  97. data/_sass/vendor/font-awesome/_rotated-flipped.scss +20 -20
  98. data/_sass/vendor/font-awesome/_screen-reader.scss +5 -5
  99. data/_sass/vendor/font-awesome/_stacked.scss +20 -20
  100. data/_sass/vendor/font-awesome/_variables.scss +800 -744
  101. data/_sass/vendor/magnific-popup/_settings.scss +45 -45
  102. data/_sass/vendor/susy/_su.scss +4 -4
  103. data/_sass/vendor/susy/_susy.scss +4 -4
  104. data/_sass/vendor/susy/_susyone.scss +4 -4
  105. data/_sass/vendor/susy/susy/_su.scss +7 -7
  106. data/_sass/vendor/susy/susy/language/_susy.scss +24 -24
  107. data/_sass/vendor/susy/susy/language/_susyone.scss +13 -13
  108. data/_sass/vendor/susy/susy/language/susy/_background.scss +385 -385
  109. data/_sass/vendor/susy/susy/language/susy/_bleed.scss +200 -200
  110. data/_sass/vendor/susy/susy/language/susy/_box-sizing.scss +47 -47
  111. data/_sass/vendor/susy/susy/language/susy/_breakpoint-plugin.scss +185 -185
  112. data/_sass/vendor/susy/susy/language/susy/_container.scss +81 -81
  113. data/_sass/vendor/susy/susy/language/susy/_context.scss +36 -36
  114. data/_sass/vendor/susy/susy/language/susy/_gallery.scss +94 -94
  115. data/_sass/vendor/susy/susy/language/susy/_grids.scss +64 -64
  116. data/_sass/vendor/susy/susy/language/susy/_gutters.scss +154 -154
  117. data/_sass/vendor/susy/susy/language/susy/_isolate.scss +77 -77
  118. data/_sass/vendor/susy/susy/language/susy/_margins.scss +94 -94
  119. data/_sass/vendor/susy/susy/language/susy/_padding.scss +74 -74
  120. data/_sass/vendor/susy/susy/language/susy/_rows.scss +138 -138
  121. data/_sass/vendor/susy/susy/language/susy/_settings.scss +216 -216
  122. data/_sass/vendor/susy/susy/language/susy/_span.scss +163 -163
  123. data/_sass/vendor/susy/susy/language/susy/_validation.scss +16 -16
  124. data/_sass/vendor/susy/susy/language/susyone/_background.scss +18 -18
  125. data/_sass/vendor/susy/susy/language/susyone/_functions.scss +377 -377
  126. data/_sass/vendor/susy/susy/language/susyone/_grid.scss +312 -312
  127. data/_sass/vendor/susy/susy/language/susyone/_isolation.scss +51 -51
  128. data/_sass/vendor/susy/susy/language/susyone/_margin.scss +93 -93
  129. data/_sass/vendor/susy/susy/language/susyone/_media.scss +105 -105
  130. data/_sass/vendor/susy/susy/language/susyone/_padding.scss +92 -92
  131. data/_sass/vendor/susy/susy/language/susyone/_settings.scss +60 -60
  132. data/_sass/vendor/susy/susy/output/_float.scss +9 -9
  133. data/_sass/vendor/susy/susy/output/_shared.scss +15 -15
  134. data/_sass/vendor/susy/susy/output/_support.scss +9 -9
  135. data/_sass/vendor/susy/susy/output/float/_container.scss +16 -16
  136. data/_sass/vendor/susy/susy/output/float/_end.scss +40 -40
  137. data/_sass/vendor/susy/susy/output/float/_isolate.scss +22 -22
  138. data/_sass/vendor/susy/susy/output/float/_span.scss +35 -35
  139. data/_sass/vendor/susy/susy/output/shared/_background.scss +26 -26
  140. data/_sass/vendor/susy/susy/output/shared/_container.scss +21 -21
  141. data/_sass/vendor/susy/susy/output/shared/_direction.scss +42 -42
  142. data/_sass/vendor/susy/susy/output/shared/_inspect.scss +25 -25
  143. data/_sass/vendor/susy/susy/output/shared/_margins.scss +23 -23
  144. data/_sass/vendor/susy/susy/output/shared/_output.scss +14 -14
  145. data/_sass/vendor/susy/susy/output/shared/_padding.scss +23 -23
  146. data/_sass/vendor/susy/susy/output/support/_background.scss +58 -58
  147. data/_sass/vendor/susy/susy/output/support/_box-sizing.scss +19 -19
  148. data/_sass/vendor/susy/susy/output/support/_clearfix.scss +18 -18
  149. data/_sass/vendor/susy/susy/output/support/_prefix.scss +19 -19
  150. data/_sass/vendor/susy/susy/output/support/_rem.scss +22 -22
  151. data/_sass/vendor/susy/susy/output/support/_support.scss +85 -85
  152. data/_sass/vendor/susy/susy/su/_grid.scss +103 -103
  153. data/_sass/vendor/susy/susy/su/_settings.scss +73 -73
  154. data/_sass/vendor/susy/susy/su/_utilities.scss +111 -111
  155. data/_sass/vendor/susy/susy/su/_validation.scss +57 -57
  156. data/assets/css/main.scss +78 -78
  157. data/assets/fonts/FontAwesome.otf +0 -0
  158. data/assets/fonts/fontawesome-webfont.eot +0 -0
  159. data/assets/fonts/fontawesome-webfont.svg +2671 -685
  160. data/assets/fonts/fontawesome-webfont.ttf +0 -0
  161. data/assets/fonts/fontawesome-webfont.woff +0 -0
  162. data/assets/fonts/fontawesome-webfont.woff2 +0 -0
  163. data/assets/js/_main.js +100 -100
  164. data/assets/js/main.min.js +4 -4
  165. data/assets/js/plugins/jquery.fitvids.js +81 -81
  166. data/assets/js/plugins/jquery.greedy-navigation.js +71 -71
  167. data/assets/js/plugins/jquery.magnific-popup.js +2049 -2049
  168. data/assets/js/plugins/jquery.smooth-scroll.min.js +8 -8
  169. data/assets/js/plugins/stickyfill.min.js +7 -7
  170. data/assets/js/vendor/jquery/jquery-1.12.4.min.js +4 -4
  171. metadata +28 -28
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4d1d957115e80d3f4b0407a0095d88469e51d89d
4
- data.tar.gz: 69978aad2b2f67510eb241343c0392979c68258e
3
+ metadata.gz: 1f6e2b0fa1c2fc44e4c46d2f3d9ad3ff6be439fe
4
+ data.tar.gz: 5de2e320dfc7a7a08b9fe673b63a92b0e21fb1bf
5
5
  SHA512:
6
- metadata.gz: cb446c32de8be55e81d96e4b5972f44796a74b748e6a7f989c324dcac774a1cb47020500616873a05a946e56f5eb53d50f342ac96fa85ad92cec46076d8a4c8a
7
- data.tar.gz: 16c7d0585fbb0e7b82a3373045c315cb14f2240a4147e7092b4389e90facdac5c2d11f4a362aba22803d302b676c7d71d71fa26aa270709537f458b0dcaa6a2e
6
+ metadata.gz: dc7f77cc9ba981ff9e2154a8636b5c06634306abd8257c1cad9234bed24f7ce2af91b259f13f96e88e9576661ee03a492606bc7709007598a9535a5f7672d2f1
7
+ data.tar.gz: 79a36cab092eaa3fdc2eaee7ca54768e2c6f4b07f359813a09f796490581987b139cb41090cf4a19f9127c0d97c0bffbad7bb178493b4acfec97c6aa7fb34d21
data/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## [4.1.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.1.1)
2
+
3
+ ### Enhancements
4
+
5
+ - Remove hardcoded `words_per_minute` "less than" and "minute read" values and make dynamic. [#703](https://github.com/mmistakes/minimal-mistakes/issues/703)
6
+ - Update Font Awesome to `v4.7.0`. [#723](https://github.com/mmistakes/minimal-mistakes/issues/723), [#722](https://github.com/mmistakes/minimal-mistakes/issues/722)
7
+ - Add support for YouTube channel URLs in author profile. [#716](https://github.com/mmistakes/minimal-mistakes/issues/716)
8
+
9
+ ### Bug Fixes
10
+
11
+ - Add Jekyll as `spec.add_runtime_dependency` in `.gemspec`.
12
+
1
13
  ## [4.1.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.1.0)
2
14
 
3
15
  ### Enhancements
data/LICENSE.txt CHANGED
@@ -1,21 +1,21 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2016 Michael Rose
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Michael Rose
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  SOFTWARE.
data/README.md CHANGED
@@ -1,157 +1,157 @@
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, 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 your theme and the contents of the `test/` directory. As you make modifications to your theme and to the example site, your site 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
- - [Stickyfill](https://github.com/wilddeer/stickyfill)
132
-
133
- ---
134
-
135
- ## License
136
-
137
- The MIT License (MIT)
138
-
139
- Copyright (c) 2016 Michael Rose
140
-
141
- Permission is hereby granted, free of charge, to any person obtaining a copy
142
- of this software and associated documentation files (the "Software"), to deal
143
- in the Software without restriction, including without limitation the rights
144
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
145
- copies of the Software, and to permit persons to whom the Software is
146
- furnished to do so, subject to the following conditions:
147
-
148
- The above copyright notice and this permission notice shall be included in all
149
- copies or substantial portions of the Software.
150
-
151
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
152
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
153
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
154
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
155
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
156
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
157
- 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, 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 your theme and the contents of the `test/` directory. As you make modifications to your theme and to the example site, your site 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
+ - [Stickyfill](https://github.com/wilddeer/stickyfill)
132
+
133
+ ---
134
+
135
+ ## License
136
+
137
+ The MIT License (MIT)
138
+
139
+ Copyright (c) 2016 Michael Rose
140
+
141
+ Permission is hereby granted, free of charge, to any person obtaining a copy
142
+ of this software and associated documentation files (the "Software"), to deal
143
+ in the Software without restriction, including without limitation the rights
144
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
145
+ copies of the Software, and to permit persons to whom the Software is
146
+ furnished to do so, subject to the following conditions:
147
+
148
+ The above copyright notice and this permission notice shall be included in all
149
+ copies or substantial portions of the Software.
150
+
151
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
152
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
153
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
154
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
155
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
156
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
157
+ SOFTWARE.
@@ -1,3 +1,3 @@
1
- <!-- start custom analytics snippet -->
2
-
1
+ <!-- start custom analytics snippet -->
2
+
3
3
  <!-- end custom analytics snippet -->
@@ -1,9 +1,9 @@
1
- <script>
2
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
3
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
4
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
5
- })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
6
-
7
- ga('create', '{{ site.analytics.google.tracking_id }}', 'auto');
8
- ga('send', 'pageview');
1
+ <script>
2
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
3
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
4
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
5
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
6
+
7
+ ga('create', '{{ site.analytics.google.tracking_id }}', 'auto');
8
+ ga('send', 'pageview');
9
9
  </script>
@@ -1,11 +1,11 @@
1
- <script type="text/javascript">
2
- var _gaq = _gaq || [];
3
- _gaq.push(['_setAccount', '{{ site.analytics.google.tracking_id }}']);
4
- _gaq.push(['_trackPageview']);
5
-
6
- (function() {
7
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
8
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
9
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
10
- })();
1
+ <script type="text/javascript">
2
+ var _gaq = _gaq || [];
3
+ _gaq.push(['_setAccount', '{{ site.analytics.google.tracking_id }}']);
4
+ _gaq.push(['_trackPageview']);
5
+
6
+ (function() {
7
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
8
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
9
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
10
+ })();
11
11
  </script>
@@ -1,12 +1,12 @@
1
- {% if site.analytics.provider and page.analytics != false %}
2
-
3
- {% case site.analytics.provider %}
4
- {% when "google" %}
5
- {% include /analytics-providers/google.html %}
6
- {% when "google-universal" %}
7
- {% include /analytics-providers/google-universal.html %}
8
- {% when "custom" %}
9
- {% include /analytics-providers/custom.html %}
10
- {% endcase %}
11
-
1
+ {% if site.analytics.provider and page.analytics != false %}
2
+
3
+ {% case site.analytics.provider %}
4
+ {% when "google" %}
5
+ {% include /analytics-providers/google.html %}
6
+ {% when "google-universal" %}
7
+ {% include /analytics-providers/google-universal.html %}
8
+ {% when "custom" %}
9
+ {% include /analytics-providers/custom.html %}
10
+ {% endcase %}
11
+
12
12
  {% endif %}