This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script creates a new post or draft in jekyll with pre-filled front matter | |
# ./script some title for your post | |
# use -d option for draft | |
FILEDIR="_posts/" | |
while getopts "d" opt; do | |
case $opt in | |
d) |