diff options
author | Bill <bill@billserver.senders.io> | 2022-12-31 14:23:20 -0500 |
---|---|---|
committer | Bill <bill@billserver.senders.io> | 2022-12-31 14:23:20 -0500 |
commit | 44da246fa5e373c86373889b53263f52af84d525 (patch) | |
tree | 8eed772e39a010703283726389139744978a6bfc /new-blog.sh | |
parent | ab5ecccf0e282c9a181a8123196e42b8c7ca9009 (diff) |
Major overhaul, markdowns + copyright notice
Diffstat (limited to 'new-blog.sh')
-rwxr-xr-x | new-blog.sh | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/new-blog.sh b/new-blog.sh deleted file mode 100755 index 130b9a7..0000000 --- a/new-blog.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env bash -set -e -# Help - -if [ "$1" == "--help" ]; then - HELP=1 -fi -if [ $# == 0 ]; then - HELP=1 -fi - -if [ "$HELP" == "1" ]; then - echo "./new-blog [iso-date]" - echo " This will create a new file in www/blog with the date sent." - echo " It will also add the necessary boilerplate to the html file." -fi - -DATE=$1 - - -# Init File -mkdir www/blog/${DATE} -cat templates/blog.html > www/blog/${DATE}/index.html - |