mirror of
https://github.com/peaceiris/actions-hugo.git
synced 2026-12-05 14:36:00 +01:00
feat: add optional verified Dart Sass installation (#769)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
@use 'sass:math';
|
||||
$width: math.div(12px, 3);
|
||||
.dart-sass-fixture {
|
||||
width: $width;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
baseURL = 'https://example.org/'
|
||||
disableKinds = ['taxonomy', 'term', 'RSS', 'sitemap']
|
||||
@@ -0,0 +1,2 @@
|
||||
{{ $css := resources.Get "main.scss" | css.Sass (dict "transpiler" "dartsass" "targetPath" "css/main.css") }}
|
||||
<!doctype html><html><head><link rel="stylesheet" href="{{ $css.RelPermalink }}"></head><body>Dart Sass integration</body></html>
|
||||
Reference in New Issue
Block a user