mirror of
https://github.com/Xevion/v2.xevion.dev.git
synced 2025-12-06 17:16:56 -06:00
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:
13
_config.yml
13
_config.yml
@@ -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:
|
||||
-
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
layout: compress
|
||||
# layout: compress
|
||||
---
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
|
||||
Reference in New Issue
Block a user