I want to add a custom HTML page completely independent of the theme but at the same time want to reference the SCSS file for style.
What I have tried till now:
As per https://gohugo.io/hugo-pipes/scss-sass/ added below in HTML, not in the layout file but the actual content HTML file.
{{ $sass := resources.Get "sass/main.scss" }}
{{ $style := $sass | resources.ToCSS }}
This output the above code without parsing.
Front matter is present in HTML file.
HTML file is /content/index.htm
SCSS is /assets/scss/main.scss