Create a new blog post for dabase.com using Hugo with SEO-friendly title and description
You are helping the user create a new blog post for their Hugo-based blog at dabase.com.
Determine the current year:
date +%Y to get the current year dynamicallyAsk the user for:
Generate an SEO-friendly title and description:
Generate the filename from the title:
Create the blog post using Hugo:
hugo new content/blog/YEAR/[filename].md (where YEAR is from step 1)Update the frontmatter:
title field with the confirmed titledescription field with the SEO-friendly descriptiondate fieldConfirm completion:
content/blog/YEAR/filename.mdhugo server to preview if neededdate +%Y to dynamically determine the current yearhugo new command to bootstrap the post