diff --git a/lib/create_css.sh b/lib/create_css.sh index 1a97fc6..f8fe577 100644 --- a/lib/create_css.sh +++ b/lib/create_css.sh @@ -2,10 +2,12 @@ # Create the css file from scratch declare css_include + create_css() { # To avoid overwriting manual changes. However it is recommended that # this function is modified if the user changes the blog.css file - ((${#css_include[@]} > 0)) && return || css_include=('main.css' 'blog.css') + + ((${#css_include} > 0)) && return || css_include=('main.css' 'blog.css') if [[ ! -f blog.css ]]; then # blog.css directives will be loaded after main.css and thus will prevail echo '#title{font-size: x-large;}