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

View File

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