+ filename fixing
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user