M Makefile => Makefile +2 -5
@@ 15,18 15,15 @@ help:
@echo " make serve Serve the site locally"
@echo " make upload Upload the updated data to the live site"
-build: npm-install hugo_stats.json
+build: npm-install
hugo --cleanDestinationDir
-build-clean: npm-install hugo_stats.json
+build-clean: npm-install
hugo --cleanDestinationDir --gc
clean:
rm -rf public hugo_stats.json
-hugo_stats.json:
- hugo --renderToMemory
-
npm-install: node_modules/.keep
node_modules/.keep: package.json package-lock.json
M layouts/_default/baseof.html => layouts/_default/baseof.html +1 -1
@@ 17,7 17,7 @@
{{- end }}
{{- $style := $scss | resources.ToCSS $scssOptions | fingerprint }}
{{- if hugo.IsProduction }}
- {{- $style = $style | resources.PostCSS }}
+ {{- $style = $style | resources.PostCSS | resources.PostProcess }}
{{- end }}
<link rel="stylesheet" href="{{ $style.Permalink }}">
{{ partial "head" . }}