mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-10-29 13:06:22 -04:00
remove HTML comments by default during minify
This commit is contained in:
6 files changed
+37
-29
No files matched your search
@@ -6,7 +6,9 @@
|
||||
{{- $target := path.Join $.File.Dir "css/inline.scss" }}
|
||||
{{- $css := . | resources.FromString $target | resources.ToCSS | resources.PostCSS (dict "config" "postcss.config.js") -}}
|
||||
|
||||
<style>
|
||||
{{ $css.Content | safeCSS }}
|
||||
</style>
|
||||
{{ printf "<!-- htmlmin:ignore -->" | safeHTML -}}
|
||||
<style>
|
||||
{{ $css.Content | safeCSS }}
|
||||
</style>
|
||||
{{- printf "<!-- htmlmin:ignore -->" | safeHTML }}
|
||||
{{ end }}
|
||||
Reference in new issue
Block a user