Remove blank YAML Front Matter from JavaScript banner
- No longer needed ref: https://github.com/jekyll/jekyll/pull/5918 Ref: https://github.com/mmistakes/minimal-mistakes/issues/1158
This commit is contained in:
parent
1205a8c46c
commit
709a1e8583
5 changed files with 4 additions and 14 deletions
|
@ -3,6 +3,7 @@
|
|||
### Enhancements
|
||||
|
||||
- Add Greek localized UI text strings. [#1159](https://github.com/mmistakes/minimal-mistakes/pull/1159)
|
||||
- Remove blank YAML Front Matter from JavaScript banner. [#1158](https://github.com/mmistakes/minimal-mistakes/issues/1158)
|
||||
|
||||
## [4.5.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.5.0)
|
||||
|
||||
|
|
4
assets/js/main.min.js
vendored
4
assets/js/main.min.js
vendored
|
@ -1,7 +1,3 @@
|
|||
---
|
||||
layout:
|
||||
---
|
||||
|
||||
/*!
|
||||
* Minimal Mistakes Jekyll Theme 4.5.0 by Michael Rose
|
||||
* Copyright 2017 Michael Rose - mademistakes.com | @mmistakes
|
||||
|
|
|
@ -5,11 +5,7 @@ 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:
|
||||
---
|
||||
|
||||
/*!
|
||||
const banner = `/*!
|
||||
* Minimal Mistakes Jekyll Theme ${pkg.version} by ${pkg.author}
|
||||
* Copyright ${dateObj.getFullYear()} Michael Rose - mademistakes.com | @mmistakes
|
||||
* Licensed under ${pkg.license}
|
||||
|
|
|
@ -4,7 +4,7 @@ permalink: /docs/history/
|
|||
excerpt: "Change log of enhancements and bug fixes made to the theme."
|
||||
sidebar:
|
||||
nav: docs
|
||||
last_modified_at: 2017-08-06T10:31:32-04:00
|
||||
last_modified_at: 2017-08-06T10:43:26-04:00
|
||||
---
|
||||
|
||||
## Unreleased
|
||||
|
@ -12,6 +12,7 @@ last_modified_at: 2017-08-06T10:31:32-04:00
|
|||
### Enhancements
|
||||
|
||||
- Add Greek localized UI text strings. [#1159](https://github.com/mmistakes/minimal-mistakes/pull/1159)
|
||||
- Remove blank YAML Front Matter from JavaScript banner. [#1158](https://github.com/mmistakes/minimal-mistakes/issues/1158)
|
||||
|
||||
## [4.5.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.5.0)
|
||||
|
||||
|
|
4
docs/assets/js/main.min.js
vendored
4
docs/assets/js/main.min.js
vendored
|
@ -1,7 +1,3 @@
|
|||
---
|
||||
layout:
|
||||
---
|
||||
|
||||
/*!
|
||||
* Minimal Mistakes Jekyll Theme 4.5.0 by Michael Rose
|
||||
* Copyright 2017 Michael Rose - mademistakes.com | @mmistakes
|
||||
|
|
Loading…
Reference in a new issue