+ filename fixing
This commit is contained in:
parent
6d92834266
commit
15ea7ecf15
@ -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
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user