+ 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
|
# Contact
|
||||||
|
|
||||||
Email: dev@shockrah.xyz
|
Email: `dev@shockrah.xyz`
|
||||||
|
|
||||||
Mastodon: https://qoto.org/@shockrah
|
Mastodon: https://qoto.org/@shockrah
|
||||||
|
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user