diff options
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/parse-article.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/parse-article.sh b/utils/parse-article.sh index b64c0ff..836fd49 100755 --- a/utils/parse-article.sh +++ b/utils/parse-article.sh @@ -9,6 +9,9 @@ ARTICLE_FILE_CONTENT=$(cat "$ARTICLE_FILE") # The first 3 lines of the file are metadata information ARTICLE_METADATA=$(echo "$ARTICLE_FILE_CONTENT" | head -n 3) +# URL path to article +ARTICLE_URL="/$ARTICLE_FILE" + source $SCRIPT_DIR/utils/parse-article-content.sh # Tags are placed on the first line of the file, delimited by commas |