Skip to content

Commit

Permalink
chore: remove unnecessary PostProcess pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
tomowang committed Jan 8, 2024
1 parent 7403f29 commit acd7dd6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions config/_default/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ ignoreErrors = ["error-remote-getjson"]
enableRobotsTXT = true
enableEmoji = true

[build]
[build.buildStats]
enable = true

[markup]
[markup.highlight]
# lineNos = true
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/css.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
{{- if .Site.IsServer }}
{{- $styles = $styles | resources.ExecuteAsTemplate (printf "css/main.dev.%v.css" now.UnixMilli) . -}}
{{ else }}
{{- $styles = $styles | minify | fingerprint | resources.PostProcess -}}
{{- $styles = $styles | minify | fingerprint -}}
{{ end -}}
<link rel="stylesheet" href="{{ $styles.RelPermalink }}">

0 comments on commit acd7dd6

Please sign in to comment.