Closed abadger1406 closed 4 years ago
hugo serve -D works fine.
This looks related:-
Everything was fine, then decided to upgrade to your latest version. This was tricly as had to copy in the shortcodes, etc. So maybe it's an error my end. Any help in resolving would be good.
What is your Hugo version? Please run hugo version
in your terminal.
build
and server
work on my machine™. Make sure to run on Hugo v0.69 and upwards.
remove resouces.PostProcess from head.html fixes issue
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{{ block "title" . }}
{{- .Title }} - {{ .Site.Title -}}
{{ end }}</title>
{{ if .Description }}
<meta name="description" content="{{ .Description }}" />
{{ end }}
{{ if .Keywords }}
<meta name="keywords" content="{{ delimit .Keywords "," }}" />
{{ end }}
{{ if .Params.Author }}
<meta name="author" content="{{ .Params.Author}}" />
{{ end }}
{{ hugo.Generator }}
{{ $styles := resources.Get "css/styles.css" | postCSS (dict "config" "./assets/css/postcss.config.js") }}
{{ if .Site.IsServer }}
<link rel="stylesheet" href="{{ $styles.RelPermalink }}">
{{ else }}
{{ $styles := $styles| minify | fingerprint }}
<link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}">
{{ end }}
hugo version reported 68
upgraded to latest 0.70 and all okay - I think you need version0.69 for PostProcess to work:-
;-)