https://github.com/thenewdynamic/gohugo-6472
minify breaks on JSON output
https://github.com/thenewdynamic/gohugo-6472
Last synced: 5 months ago
JSON representation
minify breaks on JSON output
- Host: GitHub
- URL: https://github.com/thenewdynamic/gohugo-6472
- Owner: theNewDynamic
- Created: 2019-11-05T13:50:29.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-08T20:39:43.000Z (over 6 years ago)
- Last Synced: 2025-01-13T08:28:59.131Z (over 1 year ago)
- Language: HTML
- Size: 521 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gohugo-6472
This is an example repo for [gohugoio/hugo/issues/6472](https://github.com/gohugoio/hugo/issues/6472)
## Step to reproduce
Run `hugo --minify`
Even though the error message points to an HTML file:
```
Error: Error building site: failed to render pages: parse error:1:1: unexpected character
1: http://example.org/arti...
```
Removing the JSON output from `content/article/_index.md` Front Matter removes the error.