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.5.1
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

Commits on Aug 18, 2017

  1. Fix heading

    mmistakes committed Aug 18, 2017
    Copy the full SHA
    46d8cb5 View commit details

Commits on Aug 19, 2017

  1. License url fixed (#1189)

    nelsonmestevao authored and mmistakes committed Aug 19, 2017
    Copy the full SHA
    102cbc8 View commit details

Commits on Aug 21, 2017

  1. Copy the full SHA
    ded8afc View commit details

Commits on Aug 22, 2017

  1. Do not print the comments form (#1195)

    Add `.page__comments-form` to "non-printing" selectors in print styles
    lsolesen authored and mmistakes committed Aug 22, 2017
    Copy the full SHA
    2939d45 View commit details
  2. Copy the full SHA
    bb39afa View commit details
  3. Copy the full SHA
    1f4f716 View commit details
  4. Copy the full SHA
    20821e6 View commit details

Commits on Aug 23, 2017

  1. Copy the full SHA
    6ed7eab View commit details

Commits on Aug 24, 2017

  1. Copy the full SHA
    0e9ebc4 View commit details
  2. Copy the full SHA
    4a4a2fd View commit details
  3. Adjust line break

    mmistakes committed Aug 24, 2017
    Copy the full SHA
    71f0a23 View commit details
  4. Reword paragraph

    mmistakes committed Aug 24, 2017
    Copy the full SHA
    fc193d0 View commit details

Commits on Aug 28, 2017

  1. Copy the full SHA
    43d05a5 View commit details
  2. Copy the full SHA
    38f9861 View commit details
  3. Copy the full SHA
    0ff9619 View commit details
  4. Copy the full SHA
    4709e96 View commit details
  5. Copy the full SHA
    7c863f0 View commit details
  6. Remove #disqus_thread duplicate

    `<section id="disqus_thread"></section>` is set in `_includes/comments.html` and not needed in `_includes/comment-provider/disqus.html`.
    
    Fixes #1199
    mmistakes committed Aug 28, 2017
    Copy the full SHA
    0d87190 View commit details

Commits on Aug 29, 2017

  1. Clarify that jekyll-archives has to be installed (#1206)

    Clarify that jekyll-archives has to be installed
    
    Show the simplest way to do it per #811 (comment).
    ohadschn authored and mmistakes committed Aug 29, 2017
    Copy the full SHA
    78d0b94 View commit details
  2. Copy the full SHA
    1b311f4 View commit details
  3. Copy the full SHA
    6885a12 View commit details
  4. Copy the full SHA
    eb1f445 View commit details
  5. Copy the full SHA
    12f7136 View commit details

Commits on Aug 30, 2017

  1. Clarify taxonomy page and index generation (#1207)

    Clarify taxonomy page and index generation per #811 (comment)
    ohadschn authored and mmistakes committed Aug 30, 2017
    Copy the full SHA
    3f3145a View commit details
  2. Posts by Tag (singular) (#1209)

    Correct "Posts by Tag" (singular) to be more consistent with "Posts by Category"
    
    * Update tag-archive.html
    * Update about.md
    * Update 10-layouts.md
    * Update README.md
    * Update 14-helpers.md
    ohadschn authored and mmistakes committed Aug 30, 2017
    Copy the full SHA
    c21fa07 View commit details
  3. Copy the full SHA
    f6ed6f6 View commit details

Commits on Sep 1, 2017

  1. Copy the full SHA
    5d5b05d View commit details
  2. Add note about GitHub Pages hosting alternatives

    Ruby gem method can be used with Netlify, GitLab Pages, and Continous Integration (CI) services like Travis CI.
    mmistakes committed Sep 1, 2017
    Copy the full SHA
    9b52f9c View commit details
  3. Copy the full SHA
    4a95a53 View commit details
  4. Copy the full SHA
    dddf865 View commit details
  5. Copy the full SHA
    866765b View commit details
  6. Copy the full SHA
    7bf33e8 View commit details
  7. Copy the full SHA
    6c21194 View commit details

Commits on Sep 4, 2017

  1. Fix kramdown break (#1216)

    I think my previous commit broke it by removing the newline before `{: .notice–warning}`
    ohadschn authored and mmistakes committed Sep 4, 2017
    Copy the full SHA
    d28cb4d View commit details

Commits on Sep 5, 2017

  1. Fix Liquid errors when in error_mode: strict

    Liquid does not allow parenthesis, remove them to fix Liquid Exception: Liquid syntax error "Expected dotdot but found pipe" in `tag-list.html` and `category-list.html`
    
    Close #1223
    mmistakes committed Sep 5, 2017
    Copy the full SHA
    0a9ad5d View commit details
  2. Copy the full SHA
    37da782 View commit details
  3. Update includes in /docs

    mmistakes committed Sep 5, 2017
    Copy the full SHA
    f19e74b View commit details
  4. Copy the full SHA
    e8d83de View commit details
  5. Liquid syntax error: "Expected end_of_string but found pipe in `"name…

    … in __names | sort"`" in `group-by-array` include
    
    `sort` not allowed in `for` statements, remove it.
    mmistakes committed Sep 5, 2017
    Copy the full SHA
    c4ca06f View commit details
  6. Fix Liquid syntax error in feature_row include

    Fix "Expected id but found open_square in `"{{page.[include.id] }}"`" in `feature_row` include.
    mmistakes committed Sep 5, 2017
    Copy the full SHA
    b814f30 View commit details
  7. Copy the full SHA
    c863ba6 View commit details
  8. Mention CDN minification as an alternative to compress_html (#1217)

    * Mention CDN minification as an alternative to compress_html
    
    * Add warning notice to caution statement
    ohadschn authored and mmistakes committed Sep 5, 2017
    Copy the full SHA
    5e7e15b View commit details
  9. Copy the full SHA
    5d2f34a View commit details
  10. Show 4 latest posts when site.related_posts is nil

    `site.related_posts` should return an array of latest posts when no related ones are found due to `lsi` being disabled (GitHub Page's doesn't support it).
    
    This works around that bug by showing the 4 latest posts to populate the "You May Also Enjoy" module when enabled with `related: true`.
    
    Fixes #554
    Related: #978 #1022
    mmistakes committed Sep 5, 2017
    Copy the full SHA
    2080469 View commit details

Commits on Sep 6, 2017

  1. Copy the full SHA
    f9132d8 View commit details
  2. Rename file

    mmistakes committed Sep 6, 2017
    Copy the full SHA
    f94cbe0 View commit details
  3. Bump 💎 to 4.5.2

    mmistakes committed Sep 6, 2017
    Copy the full SHA
    dc47f82 View commit details
  4. Add link to #1213

    mmistakes committed Sep 6, 2017
    Copy the full SHA
    b5e1eeb View commit details

Commits on Sep 11, 2017

  1. Test strict front matter (#1236)

    ohadschn authored and mmistakes committed Sep 11, 2017
    Copy the full SHA
    611cecc View commit details
  2. Copy the full SHA
    46c172e View commit details
Showing 541 changed files with 30,440 additions and 27,276 deletions.
15 changes: 10 additions & 5 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
_assets/css/vendor/* linguist-vendored
_assets/js/plugins/* linguist-vendored
_assets/js/vendor/* linguist-vendored
assets/fonts/* 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
18 changes: 13 additions & 5 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
# 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.

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.
For help with using the theme or general Jekyll support questions, please use the [Jekyll Talk forums](https://talk.jekyllrb.com/).

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:.
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.

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:.

## Pull Requests

When submitting a pull request:

1. Clone the repo.
2. Create a branch off of `master` and give it a meaningful name (e.g. `my-awesome-new-feature`) and describe the feature or fix.
3. Open a pull request on GitHub.
2. Create a branch off of `master` and give it a meaningful name (e.g.
`my-awesome-new-feature`) and describe the feature or fix.
3. Open a pull request on GitHub.
45 changes: 0 additions & 45 deletions .github/ISSUE_TEMPLATE.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.
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
30 changes: 30 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!--
Thanks for creating a Pull Request! Before you submit, please make sure
you've done the following:
- Read the contributing document at https://github.com/mmistakes/minimal-mistakes#contributing
-->

<!--
Choose one of the following by uncommenting it:
-->

<!-- This is a bug fix. -->
<!-- This is an enhancement or feature. -->
<!-- This is a documentation change. -->

## Summary

<!--
Provide a description of what your pull request changes.
-->

## Context

<!--
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.
-->
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
47 changes: 47 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: build

on:
push:
branches:
- master
workflow_dispatch: {}
repository_dispatch: {}

jobs:
build:
if: github.repository == 'mmistakes/minimal-mistakes'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
- name: Setup cache for Bundler
id: cache
uses: actions/cache@v4
with:
path: |
docs/Gemfile.lock
docs/vendor/bundle
key: ${{ runner.os }}-bundler-${{ hashFiles('docs/Gemfile') }}
restore-keys: |
${{ runner.os }}-bundler-
- name: Install - Bundler
env:
MAKE: make -j2
working-directory: docs/
run: |
bundle config set path vendor/bundle
bundle install --jobs=4 --retry=3
bundle clean
- name: Update Algolia index
working-directory: docs/
run: bundle exec jekyll algolia push
env:
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
continue-on-error: true
30 changes: 24 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,32 @@
*.gem
# Vim
*~
*.sw[p_]

# IntelliJ IDEA
*.idea

# Sublime Text
*.sublime-project
*.sublime-workspace

# Ruby Gem
*.gem
.bundle
Gemfile.lock
**/vendor/bundle

# Node.js and NPM
node_modules
npm-debug.log*
package-lock.json
codekit-config.json

# macOS
.DS_Store

# Jekyll generated files
.jekyll-cache
.jekyll-metadata
.sass-cache
_asset_bundler_cache
_site
codekit-config.json
example/_site
Gemfile.lock
node_modules
npm-debug.log*
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
language: ruby
cache: bundler
gemfile: docs/Gemfile
script:
- bundle exec jekyll algolia --source docs --destination docs/_site --config docs/_config.yml
branches:
only:
# Change this to gh-pages if you're deploying using the gh-pages branch
- master
rvm:
- 2.4
Loading