bash-it/plugins/jekyll.plugins.bash

13 lines
182 B
Bash

newpost() {
# Get the date for the new post's filename
FNAME_DATE=$(date "+%Y-%m-%d")
# Get the title for the new post
read -p "Enter title of the new post: " POST_TITLE
}