aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpages/article.sh4
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