Here’s my head.html:
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
{{ $style := resources.Get "scss/main.scss" | toCSS | minify | fingerprint }}
<link href="{{ $style.RelPermalink }}" rel="stylesheet">
{{ $title := print .Site.Title " | " .Title }} {{ if .IsHome }}{{ $title =
.Site.Title }}{{ end }}
<title>{{ $title }}</title>
</head>
My file structure from root:
static
└── scss
├── commom
│ ├── header.scss
│ ├── index.scss
│ ├── layout.scss
│ └── posts.scss
├── core
│ ├── base.scss
│ ├── index.scss
│ ├── reset.scss
│ └── variables.scss
└── main.scss
And I’m getting the following error:
ERROR 2022/08/24 09:51:34 render of "taxonomy" failed: "/Users/evemontalvao/projects/evemontalvao.github.io/layouts/_default/baseof.html:3:6": execute of template failed: template: _default/list.html:3:6: executing "_default/list.html" at <partial "head.html" .>: error calling partial: "/Users/evemontalvao/projects/evemontalvao.github.io/layouts/partials/head.html:4:48": execute of template failed: template: partials/head.html:4:48: executing "partials/head.html" at <toCSS>: error calling toCSS: type <nil> not supported in Resource transformations
I’ve already tried the solutions given in here and here, but it seems that I’m missing something cause the error won’t go away. Any insight will be helpful, thank you!