Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9634feb0c8 | ||
|
|
b6e14cbf18 | ||
|
|
365ff8d2db | ||
|
|
958b399741 | ||
|
|
7719679fea | ||
|
|
6b8d3148b6 | ||
|
|
7316be4280 | ||
|
|
2f2f901827 | ||
|
|
b9d86f3989 | ||
|
|
dbdf5c2f25 | ||
|
|
2aa473dd82 | ||
|
|
4454e391cf | ||
|
|
fbe35e6c60 | ||
|
|
943bf19fc5 |
@@ -1,3 +1,23 @@
|
|||||||
|
## [4.3.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.3.1)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Correctly show Related Posts heading when UI Text data file is omitted and `related: true` in YAML Front Matter. [#901](https://github.com/mmistakes/minimal-mistakes/pull/901)
|
||||||
|
|
||||||
|
## [4.3.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.3.0)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add workaround to allow theme gem's `/assets/js/main.min.js` file to be overridden by a local version. Simply add the following YAML Front Matter to the file:
|
||||||
|
|
||||||
|
```
|
||||||
|
---
|
||||||
|
layout:
|
||||||
|
---
|
||||||
|
```
|
||||||
|
|
||||||
|
Any local customizations you make to `/assets/js/main.min.js` should now replace the theme gem's version.
|
||||||
|
|
||||||
## [4.2.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.2.2)
|
## [4.2.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.2.2)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|||||||
+1
-1
@@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
<meta name="author" content="{{ seo_author }}">
|
<meta name="author" content="{{ seo_author }}">
|
||||||
|
|
||||||
<meta property="og:locale" content="{{ site.locale | replace: "-", "_" | default: "en" }}">
|
<meta property="og:locale" content="{{ site.locale | replace: "-", "_" | default: "en_US" }}">
|
||||||
<meta property="og:site_name" content="{{ site.title }}">
|
<meta property="og:site_name" content="{{ site.title }}">
|
||||||
<meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
|
<meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
|
||||||
|
|
||||||
|
|||||||
@@ -63,9 +63,7 @@ layout: default
|
|||||||
{% comment %}<!-- only show related on a post page when not disabled -->{% endcomment %}
|
{% comment %}<!-- only show related on a post page when not disabled -->{% endcomment %}
|
||||||
{% if page.id and page.related and site.related_posts.size > 0 %}
|
{% if page.id and page.related and site.related_posts.size > 0 %}
|
||||||
<div class="page__related">
|
<div class="page__related">
|
||||||
{% if site.data.ui-text[site.locale].related_label %}
|
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
|
||||||
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
|
|
||||||
{% endif %}
|
|
||||||
<div class="grid__wrapper">
|
<div class="grid__wrapper">
|
||||||
{% for post in site.related_posts limit:4 %}
|
{% for post in site.related_posts limit:4 %}
|
||||||
{% include archive-single.html type="grid" %}
|
{% include archive-single.html type="grid" %}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* Minimal Mistakes Jekyll Theme 4.2.2 by Michael Rose
|
* Minimal Mistakes Jekyll Theme 4.3.1 by Michael Rose
|
||||||
* Copyright 2017 Michael Rose - mademistakes.com | @mmistakes
|
* Copyright 2017 Michael Rose - mademistakes.com | @mmistakes
|
||||||
* Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt)
|
* Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt)
|
||||||
*/
|
*/
|
||||||
|
|||||||
Vendored
+9
File diff suppressed because one or more lines are too long
@@ -0,0 +1,21 @@
|
|||||||
|
const fs = require('fs');
|
||||||
|
const pkg = require('./package.json');
|
||||||
|
const filename = 'assets/js/main.min.js';
|
||||||
|
const script = fs.readFileSync(filename);
|
||||||
|
const padStart = str => ('0' + str).slice(-2)
|
||||||
|
const dateObj = new Date;
|
||||||
|
const date = `${dateObj.getFullYear()}-${padStart(dateObj.getMonth() + 1)}-${padStart(dateObj.getDate())}`;
|
||||||
|
const banner = `---
|
||||||
|
layout:
|
||||||
|
---
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* Minimal Mistakes Jekyll Theme ${pkg.version} by ${pkg.author}
|
||||||
|
* Copyright ${dateObj.getFullYear()} Michael Rose - mademistakes.com | @mmistakes
|
||||||
|
* Licensed under ${pkg.license}
|
||||||
|
*/
|
||||||
|
`;
|
||||||
|
|
||||||
|
if (script.slice(0, 3) != '/**') {
|
||||||
|
fs.writeFileSync(filename, banner + script);
|
||||||
|
}
|
||||||
+1
-1
@@ -195,7 +195,7 @@ defaults:
|
|||||||
related: true
|
related: true
|
||||||
# _pages
|
# _pages
|
||||||
- scope:
|
- scope:
|
||||||
path: ""
|
path: "_pages"
|
||||||
type: pages
|
type: pages
|
||||||
values:
|
values:
|
||||||
layout: single
|
layout: single
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
_id: 2d426a80-f8e7-11e6-9b83-8d0f1ec5628f
|
||||||
|
message: >-
|
||||||
|
It would be great to be able to easily switch between light and dark
|
||||||
|
highlighting.
|
||||||
|
name: looeee
|
||||||
|
email: 08df1cce15065b1b2547889573b76414
|
||||||
|
url: ''
|
||||||
|
hidden: ''
|
||||||
|
date: '2017-02-22T10:10:46.636Z'
|
||||||
@@ -7,7 +7,7 @@ single_layout_gallery:
|
|||||||
alt: "single layout with header example"
|
alt: "single layout with header example"
|
||||||
- image_path: /assets/images/mm-layout-single-meta.png
|
- image_path: /assets/images/mm-layout-single-meta.png
|
||||||
alt: "single layout with comments and related posts"
|
alt: "single layout with comments and related posts"
|
||||||
modified: 2017-01-24T10:52:47-05:00
|
modified: 2017-02-24T15:23:34-05:00
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include toc icon="columns" title="Included Layouts" %}
|
{% include toc icon="columns" title="Included Layouts" %}
|
||||||
@@ -176,7 +176,7 @@ title: "Posts by Tags"
|
|||||||
author_profile: true
|
author_profile: true
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include group-by-array collection=site.posts field="tags" %}
|
{% raw %}{% include group-by-array collection=site.posts field="tags" %}
|
||||||
|
|
||||||
{% for tag in group_names %}
|
{% for tag in group_names %}
|
||||||
{% assign posts = group_items[forloop.index0] %}
|
{% assign posts = group_items[forloop.index0] %}
|
||||||
@@ -184,7 +184,7 @@ author_profile: true
|
|||||||
{% for post in posts %}
|
{% for post in posts %}
|
||||||
{% include archive-single.html %}
|
{% include archive-single.html %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}
|
{% endfor %}{% endraw %}
|
||||||
```
|
```
|
||||||
|
|
||||||
### Home Page
|
### Home Page
|
||||||
|
|||||||
@@ -4,9 +4,29 @@ permalink: /docs/history/
|
|||||||
excerpt: "Change log of enhancements and bug fixes made to the theme."
|
excerpt: "Change log of enhancements and bug fixes made to the theme."
|
||||||
sidebar:
|
sidebar:
|
||||||
nav: docs
|
nav: docs
|
||||||
modified: 2017-02-21T10:35:32-05:00
|
modified: 2017-03-16T10:27:53-04:00
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## [4.3.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.3.1)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
- Correctly show Related Posts heading when UI Text data file is omitted and `related: true` in YAML Front Matter. [#901](https://github.com/mmistakes/minimal-mistakes/pull/901)
|
||||||
|
|
||||||
|
## [4.3.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.3.0)
|
||||||
|
|
||||||
|
### Enhancements
|
||||||
|
|
||||||
|
- Add workaround to allow theme gem's `/assets/js/main.min.js` file to be overridden by a local version. Simply add the following YAML Front Matter to the file:
|
||||||
|
|
||||||
|
```
|
||||||
|
---
|
||||||
|
layout:
|
||||||
|
---
|
||||||
|
```
|
||||||
|
|
||||||
|
Any local customizations you make to `/assets/js/main.min.js` should now replace the theme gem's version.
|
||||||
|
|
||||||
## [4.2.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.2.2)
|
## [4.2.2](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.2.2)
|
||||||
|
|
||||||
### Enhancements
|
### Enhancements
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
<meta name="author" content="{{ seo_author }}">
|
<meta name="author" content="{{ seo_author }}">
|
||||||
|
|
||||||
<meta property="og:locale" content="{{ site.locale | replace: "-", "_" | default: "en" }}">
|
<meta property="og:locale" content="{{ site.locale | replace: "-", "_" | default: "en_US" }}">
|
||||||
<meta property="og:site_name" content="{{ site.title }}">
|
<meta property="og:site_name" content="{{ site.title }}">
|
||||||
<meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
|
<meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">
|
||||||
|
|
||||||
|
|||||||
@@ -63,9 +63,7 @@ layout: default
|
|||||||
{% comment %}<!-- only show related on a post page when not disabled -->{% endcomment %}
|
{% comment %}<!-- only show related on a post page when not disabled -->{% endcomment %}
|
||||||
{% if page.id and page.related and site.related_posts.size > 0 %}
|
{% if page.id and page.related and site.related_posts.size > 0 %}
|
||||||
<div class="page__related">
|
<div class="page__related">
|
||||||
{% if site.data.ui-text[site.locale].related_label %}
|
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
|
||||||
<h4 class="page__related-title">{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}</h4>
|
|
||||||
{% endif %}
|
|
||||||
<div class="grid__wrapper">
|
<div class="grid__wrapper">
|
||||||
{% for post in site.related_posts limit:4 %}
|
{% for post in site.related_posts limit:4 %}
|
||||||
{% include archive-single.html type="grid" %}
|
{% include archive-single.html type="grid" %}
|
||||||
|
|||||||
+1
-1
@@ -7,7 +7,7 @@ header:
|
|||||||
cta_label: "<i class='fa fa-download'></i> Install Now"
|
cta_label: "<i class='fa fa-download'></i> Install Now"
|
||||||
cta_url: "/docs/quick-start-guide/"
|
cta_url: "/docs/quick-start-guide/"
|
||||||
caption:
|
caption:
|
||||||
excerpt: 'A flexible two-column Jekyll theme. Perfect for personal sites, blogs, and portfolios hosted on GitHub or your own server.<br /> <small><a href="https://github.com/mmistakes/minimal-mistakes/releases/tag/4.2.2">Latest release v4.2.2</a></small><br /><br /> {::nomarkdown}<iframe style="display: inline-block;" src="https://ghbtns.com/github-btn.html?user=mmistakes&repo=minimal-mistakes&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe> <iframe style="display: inline-block;" src="https://ghbtns.com/github-btn.html?user=mmistakes&repo=minimal-mistakes&type=fork&count=true&size=large" frameborder="0" scrolling="0" width="158px" height="30px"></iframe>{:/nomarkdown}'
|
excerpt: 'A flexible two-column Jekyll theme. Perfect for personal sites, blogs, and portfolios hosted on GitHub or your own server.<br /> <small><a href="https://github.com/mmistakes/minimal-mistakes/releases/tag/4.3.0">Latest release v4.3.0</a></small><br /><br /> {::nomarkdown}<iframe style="display: inline-block;" src="https://ghbtns.com/github-btn.html?user=mmistakes&repo=minimal-mistakes&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe> <iframe style="display: inline-block;" src="https://ghbtns.com/github-btn.html?user=mmistakes&repo=minimal-mistakes&type=fork&count=true&size=large" frameborder="0" scrolling="0" width="158px" height="30px"></iframe>{:/nomarkdown}'
|
||||||
feature_row:
|
feature_row:
|
||||||
- image_path: /assets/images/mm-customizable-feature.png
|
- image_path: /assets/images/mm-customizable-feature.png
|
||||||
alt: "customizable"
|
alt: "customizable"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* Minimal Mistakes Jekyll Theme 4.2.2 by Michael Rose
|
* Minimal Mistakes Jekyll Theme 4.3.1 by Michael Rose
|
||||||
* Copyright 2017 Michael Rose - mademistakes.com | @mmistakes
|
* Copyright 2017 Michael Rose - mademistakes.com | @mmistakes
|
||||||
* Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt)
|
* Licensed under MIT (https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt)
|
||||||
*/
|
*/
|
||||||
|
|||||||
Vendored
+9
File diff suppressed because one or more lines are too long
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Gem::Specification.new do |spec|
|
Gem::Specification.new do |spec|
|
||||||
spec.name = "minimal-mistakes-jekyll"
|
spec.name = "minimal-mistakes-jekyll"
|
||||||
spec.version = "4.2.2"
|
spec.version = "4.3.1"
|
||||||
spec.authors = ["Michael Rose"]
|
spec.authors = ["Michael Rose"]
|
||||||
|
|
||||||
spec.summary = %q{A flexible two-column Jekyll theme.}
|
spec.summary = %q{A flexible two-column Jekyll theme.}
|
||||||
|
|||||||
+3
-2
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "minimal-mistakes",
|
"name": "minimal-mistakes",
|
||||||
"version": "4.2.2",
|
"version": "4.3.1",
|
||||||
"description": "Minimal Mistakes Jekyll theme npm build scripts",
|
"description": "Minimal Mistakes Jekyll theme npm build scripts",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@@ -27,7 +27,8 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"uglify": "uglifyjs assets/js/vendor/jquery/jquery-1.12.4.min.js assets/js/plugins/jquery.fitvids.js assets/js/plugins/jquery.greedy-navigation.js assets/js/plugins/jquery.magnific-popup.js assets/js/plugins/jquery.smooth-scroll.min.js assets/js/_main.js -c -m -o assets/js/main.min.js",
|
"uglify": "uglifyjs assets/js/vendor/jquery/jquery-1.12.4.min.js assets/js/plugins/jquery.fitvids.js assets/js/plugins/jquery.greedy-navigation.js assets/js/plugins/jquery.magnific-popup.js assets/js/plugins/jquery.smooth-scroll.min.js assets/js/_main.js -c -m -o assets/js/main.min.js",
|
||||||
|
"add-banner": "node banner.js",
|
||||||
"watch:js": "onchange \"assets/js/**/*.js\" -e \"assets/js/main.min.js\" -- npm run build:js",
|
"watch:js": "onchange \"assets/js/**/*.js\" -e \"assets/js/main.min.js\" -- npm run build:js",
|
||||||
"build:js": "npm run uglify"
|
"build:js": "npm run uglify && npm run add-banner"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -258,7 +258,7 @@ defaults:
|
|||||||
related: true
|
related: true
|
||||||
# _pages
|
# _pages
|
||||||
- scope:
|
- scope:
|
||||||
path: ""
|
path: "_pages"
|
||||||
type: pages
|
type: pages
|
||||||
values:
|
values:
|
||||||
layout: single
|
layout: single
|
||||||
|
|||||||
Reference in New Issue
Block a user