Fifex css creation problem
This commit is contained in:
parent
e6161e9717
commit
cf7e11ae96
|
@ -2,10 +2,12 @@
|
||||||
|
|
||||||
# Create the css file from scratch
|
# Create the css file from scratch
|
||||||
declare css_include
|
declare css_include
|
||||||
|
|
||||||
create_css() {
|
create_css() {
|
||||||
# To avoid overwriting manual changes. However it is recommended that
|
# To avoid overwriting manual changes. However it is recommended that
|
||||||
# this function is modified if the user changes the blog.css file
|
# 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
|
if [[ ! -f blog.css ]]; then
|
||||||
# blog.css directives will be loaded after main.css and thus will prevail
|
# blog.css directives will be loaded after main.css and thus will prevail
|
||||||
echo '#title{font-size: x-large;}
|
echo '#title{font-size: x-large;}
|
||||||
|
|
Loading…
Reference in New Issue