mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-22 21:42:50 +02:00
Add Dart Sass support
But note that the Dart Sass Embedded Protocol is still in beta (beta 5), a main release scheduled for Q1 2021. Fixes #7380 Fixes #8102
This commit is contained in:
@@ -19,6 +19,7 @@ import (
|
||||
"runtime"
|
||||
|
||||
"github.com/cli/safeexec"
|
||||
"github.com/gohugoio/hugo/htesting"
|
||||
|
||||
"github.com/gohugoio/hugo/identity"
|
||||
"github.com/gohugoio/hugo/markup/internal"
|
||||
@@ -109,5 +110,8 @@ func getRstExecPath() string {
|
||||
|
||||
// Supports returns whether rst is installed on this computer.
|
||||
func Supports() bool {
|
||||
if htesting.SupportsAll() {
|
||||
return true
|
||||
}
|
||||
return getRstExecPath() != ""
|
||||
}
|
||||
|
Reference in New Issue
Block a user