Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Commit

Permalink
Remove blank YAML Front Matter from JavaScript banner
Browse files Browse the repository at this point in the history
  • Loading branch information
mmistakes authored and Jakub Pogorzelski committed Feb 11, 2019
1 parent 1dd24e4 commit a7263ea
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 a7263ea

Please sign in to comment.