+ filename fixing

This commit is contained in:
shockrah 2022-08-08 12:00:04 -07:00
parent 6d92834266
commit 15ea7ecf15
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ here: [shockrah.xyz/posts/hugo](https://shockrah.xyz/posts/hugo/).
# Contact # Contact
Email: dev@shockrah.xyz Email: `dev@shockrah.xyz`
Mastodon: https://qoto.org/@shockrah Mastodon: https://qoto.org/@shockrah

View File

@ -4,9 +4,9 @@
file="$1" file="$1"
cat << EOF | tee "$file" cat << EOF | tee content/posts/"$file"
--- ---
title: $(basename "$file") title: $(basename -s .md "$file")
date: $(date '+%F') date: $(date '+%F')
draft: false draft: false
description: description: