diff --git a/.gitignore b/.gitignore index 5944200e..f29c7d8e 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ public/ exampleSite/public/ .DS_Store .hugo_build.lock +resources/ diff --git a/layouts/partials/docs/brand.html b/layouts/partials/docs/brand.html index f9accb43..7824ef1c 100644 --- a/layouts/partials/docs/brand.html +++ b/layouts/partials/docs/brand.html @@ -1,5 +1,5 @@

- + {{- with .Site.Params.BookLogo -}} Logo {{- end -}} diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html index b22c6103..b0843609 100644 --- a/layouts/partials/docs/html-head.html +++ b/layouts/partials/docs/html-head.html @@ -21,9 +21,8 @@ {{- end -}} -{{- $styles := resources.Get "book.scss" | resources.ExecuteAsTemplate "book.scss" . | resources.ToCSS | resources.Minify | resources.Fingerprint }} +{{- $styles := resources.Get "book.scss" | resources.ExecuteAsTemplate "book.scss" . | css.Sass | resources.Minify | resources.Fingerprint }} - {{- if default true .Site.Params.BookSearch -}} {{- $searchJSFile := printf "%s.search.js" .Language.Lang }} {{- $searchJS := resources.Get "search.js" | resources.ExecuteAsTemplate $searchJSFile . | resources.Minify | resources.Fingerprint }} diff --git a/layouts/partials/docs/menu.html b/layouts/partials/docs/menu.html index d7ed9403..8453e73b 100644 --- a/layouts/partials/docs/menu.html +++ b/layouts/partials/docs/menu.html @@ -1,7 +1,7 @@