From 22a91dd434ae6d010c5d3095cfa834e23601c413 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 16 Dec 2018 14:51:54 +0000 Subject: [PATCH] Remove double .min extension on CSS files --- layouts/_default/baseof.html | 4 ++-- scripts/build.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index a355827..c885f8d 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -10,11 +10,11 @@ {{ 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" }} {{ if eq .Params.layout "flickr" }} - {{ partial "style.html" "css/lightgallery.min.css" }} + {{ partial "style.html" "css/lightgallery.css" }} {{ end }} {{ partial "title-item.html" . }}{{ .Site.Title }} diff --git a/scripts/build.sh b/scripts/build.sh index 2b7f97b..0a3e7ef 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -11,8 +11,8 @@ mkdir -p $STATIC_BUILD/js $STATIC_BUILD/css cp -r $BASEDIR/node_modules/lightgallery/dist/fonts $STATIC_BUILD cp -r $STATIC_SRC/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 $BASEDIR/node_modules/lightgallery/dist/css/lightgallery.min.css $STATIC_BUILD/css/lightgallery.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.css 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