diff --git a/render b/render index 8e70c12..34da1cb 100755 --- a/render +++ b/render @@ -413,6 +413,13 @@ mkdir -p "$destination/img" +# copy to destination all subdirs in views/ +act -n "publishing all $B views $r ... " +rsync -a -W "$DIR/views/" "${destination}/" +# make sure that new css styles are updated +[[ -r "$DIR/views/css/custom.css" ]] && { + cp -f "$DIR/views/css/custom.css" "${destination}/css/" } + # prepare all fonts @@ -549,13 +556,6 @@ idxs+=(`find views -type f -name '*.index'`) done } -# copy to destination all subdirs in views/ -act -n "publishing all $B views $r ... " -rsync -a -W --ignore-existing "$DIR/views/" "${destination}/" -# make sure that new css styles are updated -[[ -r "$DIR/views/css/custom.css" ]] && { - cp -f "$DIR/views/css/custom.css" "${destination}/css/" } - # Here all files are copied inside the destination # we can run special operations on file-types and overwrite them now # for instance edit EXIF information on images etc.