Closed Nizzlay closed 3 years ago
Sadly, I'm not good with (S)CSS. I asked some guy on Fiverr to make it work. He delivered me this: assets.zip
It works for the dark theme.
in head.html
I have this code:
{{- $options := (dict "targetPath" "main.css" "outputStyle" "compressed" "enableSourceMap" "true") -}}
{{- $styles := resources.Get "/main.scss" | resources.ToCSS $options }}
<link rel = 'stylesheet' href = '{{ $styles.RelPermalink }}' integrity = '{{ $styles.Data.Integrity }}'>
@Nizzlay Thank you so much for helping(this one and others)! And sorry for the delay and lack of response :bow:
@Nizzlay @onweru Hi there! The changes are now merged into the main branch. You can check it out though gh-pages.
And as explained in #64, I changed Sass syntax to SCSS syntax for easier development in the future.
Thanks again and best regards!
@monkeyWzr, thank you.
@monkeyWzr Thank you :)
Hugo has native support for SCSS. It would be a better fit for the project. It can result in not having to include the pre-rendered CSS files in the source. Can use Hugo to minify the resulting CSS, and provide sourcemaps.