scripts: `s/description/summary/`

This commit is contained in:
Harsh Shandilya 2022-06-27 17:19:55 +05:30
parent f6cf0f6494
commit 3804d34b56
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ function create_post() {
return
}
filename="${postslug}.md"
printf "+++\ncategories = []\ndate = %s\ndescription = \"\"\ndraft = true\nslug = \"%s\"\ntags = []\ntitle = \"%s\"\n+++\n" "${postdate}" "${postslug}" "${title}" > content/posts/"${filename}"
printf "+++\ncategories = []\ndate = %s\nsummary = \"\"\ndraft = true\nslug = \"%s\"\ntags = []\ntitle = \"%s\"\n+++\n" "${postdate}" "${postslug}" "${title}" > content/posts/"${filename}"
echo "content/posts/${filename} created!"
}