Disable HTML compression in production

Couldn't get it to work in development and it's causing issues with inline JS, so it's time to remove it.
This commit is contained in:
Xevion
2022-09-22 18:24:56 -05:00
parent de9676071f
commit 2a864b291c
2 changed files with 9 additions and 8 deletions

View File

@@ -1,5 +1,4 @@
title: Xevion.dev
environment: production
email: xevion@xevion.dev
baseurl: "" # the subpath of your site, e.g. /blog
url: "https://xevion.dev" # the base hostname & protocol for your site, e.g. http://example.com
@@ -16,15 +15,17 @@ include:
- _pages
- CNAME
exclude:
- CNAME
- LICENSE
sass:
style: compressed
sourcemap: development
compress_html:
ignore:
envs: ["development"]
comments: all
# compress_html:
# ignore:
# envs: [development, production]
# comments: all
# clippings: all
# endings: all
# blanklines: false
repository: Xevion/xevion.dev
defaults:
-

View File

@@ -1,5 +1,5 @@
---
layout: compress
# layout: compress
---
<!doctype html>
<html lang="en">