From 9f5162371323562623bae42b0476bd8b9a4a5e92 Mon Sep 17 00:00:00 2001 From: Jefferson Julio Date: Mon, 31 May 2021 19:16:12 -0300 Subject: Add more HTML metadata, re-format some text --- utils/parse-article.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'utils/parse-article.sh') 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 -- cgit v1.2.3