Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mmistakes/minimal-mistakes
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4.16.3
Choose a base ref
...
head repository: mmistakes/minimal-mistakes
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
Showing with 6,432 additions and 6,778 deletions.
  1. +9 −5 .gitattributes
  2. +3 −6 .github/CONTRIBUTING.md
  3. +0 −68 .github/ISSUE_TEMPLATE/bug_report.md
  4. +94 −0 .github/ISSUE_TEMPLATE/bug_report.yml
  5. +5 −0 .github/ISSUE_TEMPLATE/config.yml
  6. +0 −16 .github/ISSUE_TEMPLATE/documentation.md
  7. +25 −0 .github/ISSUE_TEMPLATE/documentation.yml
  8. +0 −32 .github/ISSUE_TEMPLATE/feature_request.md
  9. +0 −22 .github/ISSUE_TEMPLATE/support.md
  10. +5 −1 .github/PULL_REQUEST_TEMPLATE.md
  11. +0 −21 .github/stale.yml
  12. +35 −0 .github/workflows/bad-pr.yml
  13. +47 −0 .github/workflows/build.yml
  14. +24 −6 .gitignore
  15. +714 −243 CHANGELOG.md
  16. +1 −1 Gemfile
  17. +2 −2 LICENSE
  18. +55 −34 README.md
  19. +133 −2 Rakefile
  20. +60 −30 _config.yml
  21. +872 −88 _data/ui-text.yml
  22. 0 _includes/after-content.html
  23. +2 −2 _includes/analytics-providers/google.html
  24. +5 −13 _includes/archive-single.html
  25. +1 −1 _includes/author-profile-custom-links.html
  26. +63 −80 _includes/author-profile.html
  27. 0 _includes/before-related.html
  28. +4 −3 _includes/breadcrumbs.html
  29. +0 −3 _includes/browser-upgrade.html
  30. +3 −10 _includes/category-list.html
  31. +1 −1 _includes/comment.html
  32. +3 −0 _includes/comments-providers/custom_scripts.html
  33. +3 −3 _includes/comments-providers/disqus.html
  34. +34 −0 _includes/comments-providers/giscus.html
  35. +3 −1 _includes/comments-providers/scripts.html
  36. +1 −1 _includes/comments-providers/staticman_v2.html
  37. +1 −0 _includes/comments-providers/utterances.html
  38. +36 −15 _includes/comments.html
  39. +6 −0 _includes/copyright.html
  40. +6 −0 _includes/copyright.js
  41. +8 −14 _includes/documents-collection.html
  42. +4 −16 _includes/feature_row
  43. +8 −9 _includes/figure
  44. +4 −2 _includes/footer.html
  45. +7 −23 _includes/gallery
  46. +10 −23 _includes/head.html
  47. +12 −16 _includes/masthead.html
  48. +17 −37 _includes/nav_list
  49. +6 −0 _includes/page__date.html
  50. +14 −33 _includes/page__hero.html
  51. +2 −4 _includes/page__hero_video.html
  52. +31 −0 _includes/page__meta.html
  53. +11 −0 _includes/page__related.html
  54. +70 −0 _includes/paginator-v1.html
  55. +68 −0 _includes/paginator-v2.html
  56. +5 −67 _includes/paginator.html
  57. +3 −3 _includes/post_pagination.html
  58. +2 −1 _includes/posts-category.html
  59. +2 −1 _includes/posts-tag.html
  60. +37 −0 _includes/posts-taxonomy.html
  61. +0 −15 _includes/read-time.html
  62. +16 −0 _includes/schema.html
  63. +2 −13 _includes/scripts.html
  64. +77 −49 _includes/search/algolia-search-scripts.html
  65. +21 −13 _includes/search/search_form.html
  66. +26 −60 _includes/seo.html
  67. +3 −8 _includes/sidebar.html
  68. +7 −0 _includes/skip-links.html
  69. +2 −4 _includes/social-share.html
  70. +3 −10 _includes/tag-list.html
  71. +143 −39 _includes/toc.html
  72. +21 −10 _includes/video
  73. +16 −2 _layouts/archive-taxonomy.html
  74. +2 −2 _layouts/archive.html
  75. +1 −36 _layouts/categories.html
  76. +3 −2 _layouts/category.html
  77. +3 −2 _layouts/collection.html
  78. +6 −12 _layouts/default.html
  79. +10 −3 _layouts/home.html
  80. +5 −4 _layouts/posts.html
  81. +3 −3 _layouts/search.html
  82. +29 −37 _layouts/single.html
  83. +3 −3 _layouts/splash.html
  84. +3 −2 _layouts/tag.html
  85. +1 −36 _layouts/tags.html
  86. +2 −5 _sass/minimal-mistakes.scss
  87. +79 −90 _sass/minimal-mistakes/_archive.scss
  88. +12 −30 _sass/minimal-mistakes/_base.scss
  89. +5 −4 _sass/minimal-mistakes/_buttons.scss
  90. +6 −0 _sass/minimal-mistakes/_copyright.scss
  91. +6 −14 _sass/minimal-mistakes/_footer.scss
  92. +22 −67 _sass/minimal-mistakes/_forms.scss
  93. +12 −9 _sass/minimal-mistakes/_masthead.scss
  94. +44 −39 _sass/minimal-mistakes/_navigation.scss
  95. +15 −6 _sass/minimal-mistakes/_notices.scss
  96. +86 −45 _sass/minimal-mistakes/_page.scss
  97. +5 −8 _sass/minimal-mistakes/_reset.scss
  98. +9 −6 _sass/minimal-mistakes/_search.scss
  99. +68 −37 _sass/minimal-mistakes/_sidebar.scss
  100. +10 −5 _sass/minimal-mistakes/_syntax.scss
  101. +2 −2 _sass/minimal-mistakes/_tables.scss
  102. +151 −141 _sass/minimal-mistakes/_utilities.scss
  103. +20 −4 _sass/minimal-mistakes/_variables.scss
  104. +5 −1 _sass/minimal-mistakes/skins/_aqua.scss
  105. +3 −2 _sass/minimal-mistakes/skins/_contrast.scss
  106. +4 −2 _sass/minimal-mistakes/skins/_dark.scss
  107. +1 −0 _sass/minimal-mistakes/skins/_mint.scss
  108. +7 −1 _sass/minimal-mistakes/skins/_neon.scss
  109. +7 −1 _sass/minimal-mistakes/skins/_plum.scss
  110. +7 −2 _sass/minimal-mistakes/skins/_sunrise.scss
  111. +2 −1 assets/css/main.scss
  112. +149 −50 assets/js/_main.js
  113. +1 −3 assets/js/lunr/lunr-en.js
  114. +1 −3 assets/js/lunr/lunr-gr.js
  115. +39 −9 assets/js/lunr/lunr-store.js
  116. +67 −76 assets/js/lunr/lunr.js
  117. +6 −1 assets/js/lunr/lunr.min.js
  118. +5 −7 assets/js/main.min.js
  119. +1 −0 assets/js/main.min.js.map
  120. +93 −44 assets/js/plugins/jquery.greedy-navigation.js
  121. +30 −12 assets/js/plugins/smooth-scroll.js
  122. +849 −566 assets/js/vendor/jquery/{jquery-3.4.1.js → jquery-3.6.0.js}
  123. +0 −19 banner.js
  124. +2 −0 docs/Gemfile
  125. +5 −0 docs/Rakefile
  126. +3 −1 docs/_config.dev.yml
  127. +19 −25 docs/_config.yml
  128. +2 −0 docs/_data/navigation.yml
  129. +3 −0 docs/_data/theme.yml
  130. +0 −1,401 docs/_data/ui-text.yml
  131. +26 −19 docs/_docs/01-quick-start-guide.md
  132. +5 −3 docs/_docs/02-structure.md
  133. +4 −5 docs/_docs/03-installation.md
  134. +11 −14 docs/_docs/04-upgrading.md
  135. +329 −123 docs/_docs/05-configuration.md
  136. +5 −4 docs/_docs/06-overriding-theme-defaults.md
  137. +1 −0 docs/_docs/07-navigation.md
  138. +11 −1 docs/_docs/08-ui-text.md
  139. +126 −21 docs/_docs/10-layouts.md
  140. +14 −1 docs/_docs/13-collections.md
  141. +62 −9 docs/_docs/14-helpers.md
  142. +1 −1 docs/_docs/15-utility-classes.md
  143. +37 −12 docs/_docs/16-stylesheets.md
  144. +18 −2 docs/_docs/17-javascript.md
  145. +504 −36 docs/_docs/18-history.md
  146. +1 −2 docs/_docs/20-docs-2-2.md
  147. +18 −0 docs/_docs/22-faq.md
  148. +8 −0 docs/_includes/after-content.html
  149. +1 −0 docs/_includes/before-related.html
  150. +11 −0 docs/_includes/comments-providers/scripts.html
  151. +0 −53 docs/_layouts/default.html
  152. +1 −8 docs/_pages/404.md
  153. +3 −3 docs/_pages/about.md
  154. +3 −2 docs/_pages/home.md
  155. +3 −2 docs/_pages/page-archive.html
  156. +6 −0 docs/_posts/2009-10-05-edge-case-multiline-excerpt.md
  157. +48 −0 docs/_posts/2009-10-06-edge-case-broken-highlighting.md
  158. +10 −0 docs/_posts/2010-02-05-post-notice.md
  159. +1 −1 docs/_posts/2010-06-02-post-video-youtube.md
  160. +1 −1 docs/_posts/2010-08-05-post-image-linked.md
  161. +18 −0 docs/_posts/2012-01-02-layout-post-date-disabled.md
  162. +18 −0 docs/_posts/2012-01-02-layout-post-date.md
  163. +1 −1 docs/_posts/2012-03-15-layout-header-image-external.md
  164. +28 −0 docs/_posts/2012-03-15-layout-header-overlay-image-tagline.md
  165. +3 −2 docs/_posts/2012-03-15-layout-sidebar-custom.md
  166. +2 −2 docs/_posts/2013-01-10-markup-image-alignment.md
  167. +0 −1 docs/_posts/2016-09-21-gemified-theme-alpha.md
  168. +5 −5 docs/_posts/2017-01-23-layout-header-video.md
  169. BIN docs/assets/images/350x250.png
  170. BIN docs/assets/images/dracula-code-block.jpg
  171. BIN docs/assets/images/mm-header-overlay-custom-filter.jpg
  172. BIN docs/assets/images/mm-post-date-example.png
  173. +9 −9 minimal-mistakes-jekyll.gemspec
  174. +19 −2,309 package-lock.json
  175. +4 −11 package.json
  176. +1 −1 staticman.yml
  177. +2 −2 test/Gemfile
  178. +22 −26 test/_config.yml
  179. +1 −9 test/_pages/404.md
  180. +7 −0 test/_pages/category-archive-grid.md
  181. +1 −1 test/_pages/category-archive.md
  182. +28 −0 test/_pages/collection-archive-grid.html
  183. +2 −2 test/_pages/collection-archive.html
  184. +9 −0 test/_pages/edge-case-grid.md
  185. +9 −0 test/_pages/markup-grid.md
  186. +16 −0 test/_pages/page-archive-grid.html
  187. +1 −1 test/_pages/page-archive.html
  188. +7 −0 test/_pages/tag-archive-grid.md
  189. +1 −1 test/_pages/tag-archive.md
  190. +7 −0 test/_pages/year-archive-grid.md
  191. +3 −1 test/_posts/2009-05-15-edge-case-nested-and-mixed-lists.md
  192. +2 −0 test/_posts/2009-06-01-edge-case-many-tags.md
  193. +6 −0 test/_posts/2009-10-05-edge-case-multiline-excerpt.md
  194. +10 −0 test/_posts/2010-02-05-post-notice.md
  195. +1 −1 test/_posts/2010-06-02-post-video-youtube.md
  196. +1 −1 test/_posts/2010-08-05-post-image-linked.md
  197. +18 −0 test/_posts/2012-01-02-layout-post-date-disabled.md
  198. +18 −0 test/_posts/2012-01-02-layout-post-date.md
  199. +1 −1 test/_posts/2012-03-15-layout-header-image-external.md
  200. +28 −0 test/_posts/2012-03-15-layout-header-overlay-image-tagline.md
  201. +1 −0 test/_posts/2013-01-11-markup-html-tags-and-formatting.md
  202. +5 −5 test/_posts/2017-01-23-layout-header-video.md
14 changes: 9 additions & 5 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
assets/fonts/* linguist-vendored
assets/js/main.min.js linguist-vendored
assets/js/lunr/* linguist-vendored
assets/js/plugins/* linguist-vendored
assets/js/vendor/* linguist-vendored
assets/fonts/* linguist-vendored
assets/js/main.min.js linguist-vendored
assets/js/lunr/* linguist-vendored
assets/js/plugins/* linguist-vendored
assets/js/vendor/* linguist-vendored
_sass/minimal-mistakes/vendor/* linguist-vendored
CHANGELOG.md text merge=union
docs/_docs/18-history.md text merge=union

*.md text
9 changes: 3 additions & 6 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
# Contributing

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.
Found a typo in the documentation or interested in [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.

For help with using the theme or general Jekyll support questions, please use the [Jekyll Talk forums](https://talk.jekyllrb.com/).

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
68 changes: 0 additions & 68 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

94 changes: 94 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
name: Bug Report
description: There is something wrong with the theme. 99% of the time you should select Support below.
body:
- type: markdown
attributes:
value: |
Before opening a new issue please:
- Verify you have the latest versions of Jekyll and Minimal Mistakes
installed by running `bundle update`.
- Thoroughly read the theme's documentation at
https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
- Search all issues at https://github.com/mmistakes/minimal-mistakes/issues
for solutions and to avoid duplication.
- Ask for help at https://talk.jekyllrb.com/
If none of the above solved your problem, you can continue below.
- type: textarea
id: environment
attributes:
label: Theme version and system environment
description: |
Please include theme version, Jekyll version, public git repository, whether
you are hosting with GitHub Pages, and the operating system you tested with.
Issues without a link to a public repository or ZIP file will likely go ignored.
Being able to see your actual files is necessary to troubleshoot, as most
issues stem from invalid/missing YAML Front Matter, a mis-configured _config.yml
file, or problematic site content.
value: |-
- Minimal Mistakes version:
- Ruby gem or remote theme version:
- Jekyll version:
- Git repository URL:
- URL to the page with the problem:
- Operating system:
- Browser version:
validations:
required: true

- type: textarea
id: what-happened
attributes:
label: What happened?
description: |
Describe the problem **in detail**. For example:
- What is missing?
- What error do you see? Attach the error log if available.
validations:
required: true

- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
description: |
Please describe the expected behavior and the actual result you got.
placeholder: >
What is it you expected to happen? This should be a description of how the
functionality you tried to use is supposed to work.
validations:
required: true

- type: textarea
id: steps-to-reproduce
attributes:
label: Steps to reproduce the behavior
description: |
Describe the steps you took for this problem to come up. Such as: you installed
the theme, customized _config.yml, added your own posts, and started up a
Jekyll server locally.
If an error occurred on GitHub Pages when pushing, please test a local version
following these setup instructions:
https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/
Then provide a complete log by running `bundle exec jekyll build --trace --verbose`
and include this output in the filed issue.
Screenshots can also be included if they help illustrate a behavior.
validations:
required: true

- type: textarea
id: other
attributes:
label: Other
description: |
Please provide a code repository, gist, code snippet, sample files,
screenshots, or anything else you think will aid in reproducing the issue.
validations:
required: false
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Support
url: https://github.com/mmistakes/minimal-mistakes/discussions
about: Please post your support questions in the Discussions section.
16 changes: 0 additions & 16 deletions .github/ISSUE_TEMPLATE/documentation.md

This file was deleted.

25 changes: 25 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Documentation
description: Found a typo or something that needs clarification?
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to open an issue and help make the docs better.
- type: textarea
id: motivation
attributes:
label: Motivation
description: |
Why should we update our docs?
validations:
required: true

- type: textarea
id: suggestion
attributes:
label: Suggestion
description: |
What should we do instead?
validations:
required: true
32 changes: 0 additions & 32 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

22 changes: 0 additions & 22 deletions .github/ISSUE_TEMPLATE/support.md

This file was deleted.

6 changes: 5 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -23,4 +23,8 @@

<!--
Is this related to any GitHub issue(s)?
-->
-->

<!--
Please confirm that you want to submit this Pull Request to Minimal Mistakes, the free Jekyll theme by Michael Rose, by deleting this comment block.
-->
21 changes: 0 additions & 21 deletions .github/stale.yml

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/bad-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Cleanup bad PR

on:
pull_request_target:
types: [opened, reopened]

permissions:
contents: read

jobs:
close-pr:
permissions:
pull-requests: write
runs-on: ubuntu-latest
if: "contains(github.event.pull_request.body, 'by deleting this comment block') || github.event.pull_request.body == ''"
steps:
- uses: actions-ecosystem/action-add-labels@v1
with:
labels: 'Type: Invalid'
- uses: actions-ecosystem/action-add-labels@v1
with:
labels: 'Type: Spam'
- uses: superbrothers/close-pull-request@v3
with:
# Optional. Post an issue comment just before closing a pull request.
comment: |
**You have created a Pull Request to the wrong repository.** This is the repository for [Minimal Mistakes][1], the free Jekyll theme. See [GitHub Docs: About pull requests][2] if you need help.
[1]: https://mmistakes.github.io/minimal-mistakes/
[2]: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests
- uses: sudo-bot/action-pull-request-lock@v1.0.5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
number: ${{ github.event.pull_request.number }}
lock-reason: spam
Loading