diff options
author | Jefferson Julio <[email protected]> | 2021-06-02 23:50:55 -0300 |
---|---|---|
committer | Jefferson Julio <[email protected]> | 2021-06-02 23:50:55 -0300 |
commit | cd228ef5da0e11f9f28d615cc768392e424c5337 (patch) | |
tree | 411ee0d4f2c75ccb9db9e3891a1f4cf80a745079 /pages | |
parent | 7d773221e7711c4e534e89264c719b4cc5aabb1f (diff) | |
download | blog.sh-master.tar.bz2 blog.sh-master.zip |
Diffstat (limited to 'pages')
-rwxr-xr-x | pages/article.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/article.sh b/pages/article.sh index b7270d8..c2398f7 100755 --- a/pages/article.sh +++ b/pages/article.sh @@ -1,9 +1,9 @@ #!/bin/bash -source $SCRIPT_DIR/utils/parse-article.sh - COMMENTS_FOLDER="$SCRIPT_DIR/pages/$REQUEST_URI/comments" source $SCRIPT_DIR/components/comments.sh +source $SCRIPT_DIR/utils/parse-article.sh + if [ $? -gt 0 ]; then STATUS=404 cat <<ERR |