1
Fork 0

Load highlight in separate CSS call

This commit is contained in:
Jake Howard 2018-12-01 17:53:05 +00:00
parent 1c7785957e
commit e51f08c83a
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 2 additions and 3 deletions

View file

@ -11,6 +11,7 @@
{{ partial "style.html" "scss/style.scss" }}
{{ partial "style.html" "css/font-awesome.min.css" }}
{{ partial "style.html" "css/highlight.css" }}
<title>{{ partial "title-item.html" . }}{{ .Site.Title }}</title>

View file

@ -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

View file

@ -1,7 +1,5 @@
@import "variables";
@import "highlight"; // Generated by Hugo
@import "node_modules/lightgallery/src/sass/lightgallery";
@import "node_modules/bootstrap/scss/bootstrap";