diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 0b32a64..ef4eb34 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -11,6 +11,7 @@ {{ partial "style.html" "scss/style.scss" }} {{ partial "style.html" "css/font-awesome.min.css" }} + {{ partial "style.html" "css/highlight.css" }} {{ partial "title-item.html" . }}{{ .Site.Title }} diff --git a/scripts/build.sh b/scripts/build.sh index 6605274..0f4f929 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -21,7 +21,7 @@ cp $BASEDIR/node_modules/mermaid/dist/mermaid.min.js $STATIC_BUILD/js/mermaid.mi browserify $STATIC_SRC/js/index.js -o $STATIC_BUILD/js/app.js cp -r $STATIC_SRC/scss $STATIC_BUILD/scss -hugo gen chromastyles --style=tango > $STATIC_BUILD/scss/highlight.scss +hugo gen chromastyles --style=tango > $STATIC_BUILD/css/highlight.css hugo -vDEF --stepAnalysis --gc $HUGO_ARGS diff --git a/static/src/scss/style.scss b/static/src/scss/style.scss index e61a8e2..4b2a33f 100644 --- a/static/src/scss/style.scss +++ b/static/src/scss/style.scss @@ -1,7 +1,5 @@ @import "variables"; -@import "highlight"; // Generated by Hugo - @import "node_modules/lightgallery/src/sass/lightgallery"; @import "node_modules/bootstrap/scss/bootstrap";