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.17.2
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 5,882 additions and 3,617 deletions.
  1. +9 −5 .gitattributes
  2. +3 −6 .github/CONTRIBUTING.md
  3. +0 −1 .github/FUNDING.yml
  4. +0 −68 .github/ISSUE_TEMPLATE/bug_report.md
  5. +94 −0 .github/ISSUE_TEMPLATE/bug_report.yml
  6. +5 −0 .github/ISSUE_TEMPLATE/config.yml
  7. +0 −16 .github/ISSUE_TEMPLATE/documentation.md
  8. +25 −0 .github/ISSUE_TEMPLATE/documentation.yml
  9. +0 −32 .github/ISSUE_TEMPLATE/feature_request.md
  10. +0 −22 .github/ISSUE_TEMPLATE/support.md
  11. +5 −1 .github/PULL_REQUEST_TEMPLATE.md
  12. +0 −21 .github/stale.yml
  13. +35 −0 .github/workflows/bad-pr.yml
  14. +47 −0 .github/workflows/build.yml
  15. +23 −7 .gitignore
  16. +629 −242 CHANGELOG.md
  17. +1 −1 Gemfile
  18. +2 −2 LICENSE
  19. +47 −31 README.md
  20. +133 −2 Rakefile
  21. +54 −23 _config.yml
  22. +659 −84 _data/ui-text.yml
  23. 0 _includes/after-content.html
  24. +5 −13 _includes/archive-single.html
  25. +1 −1 _includes/author-profile-custom-links.html
  26. +61 −78 _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. +8 −15 _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. +2 −2 _includes/search/search_form.html
  66. +26 −53 _includes/seo.html
  67. +3 −8 _includes/sidebar.html
  68. +0 −1 _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. +4 −10 _layouts/default.html
  79. +10 −3 _layouts/home.html
  80. +5 −4 _layouts/posts.html
  81. +3 −3 _layouts/search.html
  82. +28 −36 _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. +69 −85 _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 −9 _sass/minimal-mistakes/_footer.scss
  92. +21 −66 _sass/minimal-mistakes/_forms.scss
  93. +7 −9 _sass/minimal-mistakes/_masthead.scss
  94. +44 −39 _sass/minimal-mistakes/_navigation.scss
  95. +15 −6 _sass/minimal-mistakes/_notices.scss
  96. +54 −46 _sass/minimal-mistakes/_page.scss
  97. +5 −8 _sass/minimal-mistakes/_reset.scss
  98. +3 −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. +148 −142 _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. +145 −47 assets/js/_main.js
  113. +1 −1 assets/js/lunr/lunr-en.js
  114. +1 −1 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. +16 −23 docs/_config.yml
  128. +2 −0 docs/_data/navigation.yml
  129. +3 −0 docs/_data/theme.yml
  130. +25 −17 docs/_docs/01-quick-start-guide.md
  131. +5 −3 docs/_docs/02-structure.md
  132. +3 −2 docs/_docs/03-installation.md
  133. +11 −14 docs/_docs/04-upgrading.md
  134. +316 −120 docs/_docs/05-configuration.md
  135. +5 −4 docs/_docs/06-overriding-theme-defaults.md
  136. +1 −0 docs/_docs/07-navigation.md
  137. +10 −1 docs/_docs/08-ui-text.md
  138. +125 −20 docs/_docs/10-layouts.md
  139. +62 −9 docs/_docs/14-helpers.md
  140. +1 −1 docs/_docs/15-utility-classes.md
  141. +37 −12 docs/_docs/16-stylesheets.md
  142. +18 −2 docs/_docs/17-javascript.md
  143. +419 −35 docs/_docs/18-history.md
  144. +1 −2 docs/_docs/20-docs-2-2.md
  145. +18 −0 docs/_docs/22-faq.md
  146. +8 −0 docs/_includes/after-content.html
  147. +1 −0 docs/_includes/before-related.html
  148. +11 −0 docs/_includes/comments-providers/scripts.html
  149. +0 −53 docs/_layouts/default.html
  150. +1 −8 docs/_pages/404.md
  151. +3 −3 docs/_pages/about.md
  152. +3 −2 docs/_pages/home.md
  153. +3 −2 docs/_pages/page-archive.html
  154. +6 −0 docs/_posts/2009-10-05-edge-case-multiline-excerpt.md
  155. +48 −0 docs/_posts/2009-10-06-edge-case-broken-highlighting.md
  156. +10 −0 docs/_posts/2010-02-05-post-notice.md
  157. +1 −1 docs/_posts/2010-06-02-post-video-youtube.md
  158. +18 −0 docs/_posts/2012-01-02-layout-post-date-disabled.md
  159. +18 −0 docs/_posts/2012-01-02-layout-post-date.md
  160. +28 −0 docs/_posts/2012-03-15-layout-header-overlay-image-tagline.md
  161. +3 −2 docs/_posts/2012-03-15-layout-sidebar-custom.md
  162. +5 −5 docs/_posts/2017-01-23-layout-header-video.md
  163. BIN docs/assets/images/350x250.png
  164. BIN docs/assets/images/dracula-code-block.jpg
  165. BIN docs/assets/images/mm-header-overlay-custom-filter.jpg
  166. BIN docs/assets/images/mm-post-date-example.png
  167. +7 −5 minimal-mistakes-jekyll.gemspec
  168. +20 −636 package-lock.json
  169. +4 −11 package.json
  170. +1 −1 staticman.yml
  171. +2 −1 test/Gemfile
  172. +16 −21 test/_config.yml
  173. +1 −9 test/_pages/404.md
  174. +7 −0 test/_pages/category-archive-grid.md
  175. +28 −0 test/_pages/collection-archive-grid.html
  176. +2 −2 test/_pages/collection-archive.html
  177. +9 −0 test/_pages/edge-case-grid.md
  178. +9 −0 test/_pages/markup-grid.md
  179. +16 −0 test/_pages/page-archive-grid.html
  180. +1 −1 test/_pages/page-archive.html
  181. +7 −0 test/_pages/tag-archive-grid.md
  182. +7 −0 test/_pages/year-archive-grid.md
  183. +6 −0 test/_posts/2009-10-05-edge-case-multiline-excerpt.md
  184. +10 −0 test/_posts/2010-02-05-post-notice.md
  185. +1 −1 test/_posts/2010-06-02-post-video-youtube.md
  186. +18 −0 test/_posts/2012-01-02-layout-post-date-disabled.md
  187. +18 −0 test/_posts/2012-01-02-layout-post-date.md
  188. +28 −0 test/_posts/2012-03-15-layout-header-overlay-image-tagline.md
  189. +1 −0 test/_posts/2013-01-11-markup-html-tags-and-formatting.md
  190. +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
1 change: 0 additions & 1 deletion .github/FUNDING.yml

This file was deleted.

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