#!/bin/sh -e mkdir -p ./posts # get name and url and other values we need printf "Title of blog post: " read -r postTitle printf "URL string for blog post: " read -r postUrl fullUrl='https:\/\/stillgreenmoss\.net\/blog\/'"$postUrl" currentMonth=$(date +%B) currentYear=$(date +%Y) postDate=$(date --rfc-3339=date) rssDate="$postDate"T00:00:00Z # create link to post on blog.html sed -i "s/