diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 0aa5018..3f9c13c 100755 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -17,13 +17,12 @@ {{ end }} - {{ $css_path := $.Param "dev.css_path" | default "themes/gohugo-theme-ananke/static/dist/css" }} - {{ with $css_path }} - {{ range readDir . }} - - {{ end }} + {{ $stylesheet := .Site.Data.webpack_assets.app }} + {{ with $stylesheet.css }} + {{ end }} + {{ block "favicon" . }} {{ partial "site-favicon.html" . }} {{ end }}