diff --git a/README.md b/README.md index 97f5da5..a6aa6ef 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ here: [shockrah.xyz/posts/hugo](https://shockrah.xyz/posts/hugo/). # Contact -Email: dev@shockrah.xyz +Email: `dev@shockrah.xyz` Mastodon: https://qoto.org/@shockrah diff --git a/scripts/new-post.sh b/scripts/new-post.sh index 290d410..be53d01 100644 --- a/scripts/new-post.sh +++ b/scripts/new-post.sh @@ -4,9 +4,9 @@ file="$1" -cat << EOF | tee "$file" +cat << EOF | tee content/posts/"$file" --- -title: $(basename "$file") +title: $(basename -s .md "$file") date: $(date '+%F') draft: false description: