diff options
author | Jefferson Julio <[email protected]> | 2021-05-31 19:16:12 -0300 |
---|---|---|
committer | Jefferson Julio <[email protected]> | 2021-05-31 19:16:12 -0300 |
commit | 9f5162371323562623bae42b0476bd8b9a4a5e92 (patch) | |
tree | 9375011fbff065938b1878cbf5198247a8a0dbbf /utils | |
parent | 381bff129b70471e86e99a2d6b6a7e090f13287e (diff) | |
download | blog.sh-9f5162371323562623bae42b0476bd8b9a4a5e92.tar.bz2 blog.sh-9f5162371323562623bae42b0476bd8b9a4a5e92.zip |
Add more HTML metadata, re-format some text
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 |