Skip to content

Commit

Permalink
Remove blank YAML Front Matter from JavaScript banner
Browse files Browse the repository at this point in the history
- No longer needed ref: jekyll/jekyll#5918

Ref: mmistakes#1158
  • Loading branch information
mmistakes committed Aug 6, 2017
1 parent b14c054 commit 618f4cb
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 14 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 0 additions & 4 deletions assets/js/main.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions banner.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
3 changes: 2 additions & 1 deletion docs/_docs/18-history.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ 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

### 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)

Expand Down
4 changes: 0 additions & 4 deletions docs/assets/js/main.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 618f4cb

Please sign in to comment.