You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Run `bundle exec rake clean` then `bundle exec rake copyright` - all three references `package.json`)
145
+
- assets/js/main.min.js (Run `npm run build:js`, references `_includes/copyright.js`)
146
+
-->
147
+
126
148
**Looking for an example?** Use the [Minimal Mistakes remote theme starter](https://github.com/mmistakes/mm-github-pages-starter/generate) for the quickest method of getting a GitHub Pages hosted site up and running. Generate a new repository from the starter, replace sample content with your own, and configure as needed.
127
149
128
150
## Usage
129
151
130
152
For detailed instructions on how to configure, customize, add/migrate content, and more read the [theme's documentation](https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/).
131
153
132
-
---
133
-
134
154
## Contributing
135
155
136
156
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.
@@ -153,8 +173,6 @@ To set up your environment to develop this theme, run `bundle install`.
153
173
154
174
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.
155
175
156
-
---
157
-
158
176
## Credits
159
177
160
178
### Creator
@@ -167,7 +185,7 @@ To test the theme, run `bundle exec rake preview` and open your browser at `http
167
185
168
186
### Icons + Demo Images:
169
187
170
-
- [The Noun Project](https://thenounproject.com) -- Garrett Knoll, Arthur Shlain, and [tracy tam](https://thenounproject.com/tracytam)
188
+
- [The Noun Project](https://thenounproject.com) - Garrett Knoll, Arthur Shlain, and [tracy tam](https://thenounproject.com/tracytam)
171
189
- [Font Awesome](http://fontawesome.io/)
172
190
- [Unsplash](https://unsplash.com/)
173
191
@@ -185,8 +203,6 @@ To test the theme, run `bundle exec rake preview` and open your browser at `http
Copy file name to clipboardexpand all lines: docs/_docs/01-quick-start-guide.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,7 @@ To install as a remote theme:
78
78
bundle
79
79
```
80
80
81
-
4. Add `remote_theme: "mmistakes/minimal-mistakes@4.24.0"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
81
+
4. Add `remote_theme: "mmistakes/minimal-mistakes@{{ site.theme_version }}"` to your `_config.yml` file. Remove any other `theme:` or `remote_theme:` entry.
82
82
83
83
You may also optionally specify a branch, [tag](https://github.com/mmistakes/minimal-mistakes/tags), or commit to use by appending an @ and the Git ref (e.g., `mmistakes/minimal-mistakes@4.9.0` or `mmistakes/minimal-mistakes@bbf3cbc5fd64a3e1885f3f99eb90ba92af84063d`). This is useful when rolling back to older versions of the theme. If you don't specify a Git ref, the latest on `master` will be used.
Copy file name to clipboardexpand all lines: docs/_docs/04-upgrading.md
+5-10
Original file line number
Diff line number
Diff line change
@@ -2,21 +2,16 @@
2
2
title: "Upgrading"
3
3
permalink: /docs/upgrading/
4
4
excerpt: "Instructions and suggestions for upgrading the theme."
5
-
last_modified_at: 2021-06-23T08:15:34-04:00
5
+
last_modified_at: 2024-04-23T00:43:19+08:00
6
6
toc: true
7
7
---
8
8
9
9
If you're using the [Ruby Gem]({{ "/docs/quick-start-guide/#gem-based-method" | relative_url }}) or [remote theme]({{ "/docs/quick-start-guide/#remote-theme-method" | relative_url }}) versions of Minimal Mistakes, upgrading is fairly painless.
10
10
11
11
To check which version you are currently using, view the source of your built site and you should see something similar to:
12
12
13
-
```
14
-
<!--
15
-
Minimal Mistakes Jekyll Theme 4.24.0 by Michael Rose
16
-
Copyright 2013-2020 Michael Rose - mademistakes.com | @mmistakes
17
-
Free for personal and commercial use under the MIT license
At the top of every `.html` file, `/assets/css/main.css`, and `/assets/js/main.min.js`.
@@ -28,14 +23,14 @@ Simply run `bundle update` if you're using Bundler (have a `Gemfile`) or `gem up
28
23
When using Bundler you can downgrade or lock the theme to a specific release ([tag](https://github.com/mmistakes/minimal-mistakes/tags)), branch, or commit. Instead of `gem "minimal-mistakes-jekyll"` you'd add the following to your `Gemfile`:
For more information on [installing gems from git repositories](http://bundler.io/v1.16/guides/git.html) consult Bundler's documentation.
35
30
36
31
## Remote theme
37
32
38
-
When setting `remote_theme: "mmistakes/minimal-mistakes@4.24.0"` in your `_config.yml` you may also optionally specify a branch, [tag](https://github.com/mmistakes/minimal-mistakes/tags), or commit to use by appending an @ and the Git ref.
33
+
When setting `remote_theme: "mmistakes/minimal-mistakes@{{ site.theme_version }}"` in your `_config.yml` you may also optionally specify a branch, [tag](https://github.com/mmistakes/minimal-mistakes/tags), or commit to use by appending an @ and the Git ref.
39
34
40
35
For example you can roll back to release 4.8.1 with `mmistakes/minimal-mistakes@4.8.1` or a specific commit with `mmistakes/minimal-mistakes@bbf3cbc5fd64a3e1885f3f99eb90ba92af84063d`). For a complete list of theme versions consult the [releases page](https://github.com/mmistakes/minimal-mistakes/releases).
0 commit comments