diff --git a/render b/render index fa857de..aa88ece 100755 --- a/render +++ b/render @@ -189,11 +189,6 @@ render_footer() { EOF - render_file "$DIR"/tmpl/footer.html - - # add any string argument to the footer - [[ "$1" = "" ]] || { print "${@}"; print } - # include all css files found in views/css jsfound=`find $DIR/views/js -type f -name '*.js'` for j in ${(f)jsfound}; do @@ -213,6 +208,12 @@ EOF fi done + + render_file "$DIR"/tmpl/footer.html + + # add any string argument to the footer + [[ "$1" = "" ]] || { print "${@}"; print } + # if test mode then render the test footer [[ "$CMD" = "test" ]] && render_test_footer