1
Fork 0

Remove double .min extension on CSS files

This commit is contained in:
Jake Howard 2018-12-16 14:51:54 +00:00
parent cfa3c5f66f
commit 22a91dd434
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 4 additions and 4 deletions

View file

@ -10,11 +10,11 @@
<link rel="icon" type="image/png" href='{{ (resources.Get "/img/logo-transparent.png" | fingerprint).RelPermalink }}'/> <link rel="icon" type="image/png" href='{{ (resources.Get "/img/logo-transparent.png" | fingerprint).RelPermalink }}'/>
{{ partial "style.html" "scss/style.scss" }} {{ partial "style.html" "scss/style.scss" }}
{{ partial "style.html" "css/font-awesome.min.css" }} {{ partial "style.html" "css/font-awesome.css" }}
{{ partial "style.html" "css/highlight.css" }} {{ partial "style.html" "css/highlight.css" }}
{{ if eq .Params.layout "flickr" }} {{ if eq .Params.layout "flickr" }}
{{ partial "style.html" "css/lightgallery.min.css" }} {{ partial "style.html" "css/lightgallery.css" }}
{{ end }} {{ end }}
<title>{{ partial "title-item.html" . }}{{ .Site.Title }}</title> <title>{{ partial "title-item.html" . }}{{ .Site.Title }}</title>

View file

@ -11,8 +11,8 @@ mkdir -p $STATIC_BUILD/js $STATIC_BUILD/css
cp -r $BASEDIR/node_modules/lightgallery/dist/fonts $STATIC_BUILD cp -r $BASEDIR/node_modules/lightgallery/dist/fonts $STATIC_BUILD
cp -r $STATIC_SRC/img $STATIC_BUILD/img cp -r $STATIC_SRC/img $STATIC_BUILD/img
cp -r $BASEDIR/node_modules/lightgallery/dist/img/* $STATIC_BUILD/img cp -r $BASEDIR/node_modules/lightgallery/dist/img/* $STATIC_BUILD/img
cp -r $BASEDIR/node_modules/@fortawesome/fontawesome-free/css/all.min.css $STATIC_BUILD/css/font-awesome.min.css cp -r $BASEDIR/node_modules/@fortawesome/fontawesome-free/css/all.min.css $STATIC_BUILD/css/font-awesome.css
cp $BASEDIR/node_modules/lightgallery/dist/css/lightgallery.min.css $STATIC_BUILD/css/lightgallery.min.css cp $BASEDIR/node_modules/lightgallery/dist/css/lightgallery.min.css $STATIC_BUILD/css/lightgallery.css
cp -r $BASEDIR/node_modules/@fortawesome/fontawesome-free/webfonts $STATIC_BUILD cp -r $BASEDIR/node_modules/@fortawesome/fontawesome-free/webfonts $STATIC_BUILD
cp $BASEDIR/node_modules/jquery/dist/jquery.min.js $STATIC_BUILD/js/jquery.js cp $BASEDIR/node_modules/jquery/dist/jquery.min.js $STATIC_BUILD/js/jquery.js