Skip to content

Conversation

@mrbiggred
Copy link
Member

Revise the blog post directory structure to include descriptive titles, allowing multiple posts on the same day. Update post creation scripts to reflect this new structure and provide guidance for renaming folders.

Copilot AI review requested due to automatic review settings January 13, 2026 16:16
@mrbiggred mrbiggred self-assigned this Jan 13, 2026
@mrbiggred mrbiggred added the documentation Improvements or additions to documentation label Jan 13, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the blog post directory structure to include descriptive titles in the folder names, enabling multiple posts on the same day. The change moves from YYYY/MM/DD/ to YYYY/MM/DD/YYYY-MM-DD-title-of-post/ structure.

Changes:

  • Updated both bash and PowerShell post creation scripts to generate folders with descriptive title placeholders
  • Added guidance messages reminding users to rename folders with descriptive titles
  • Updated all documentation (README.md and AGENTS.md) to reflect the new directory structure

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
create_post.sh Modified to create nested folder structure with date-prefixed title placeholder and added rename guidance
create_post.ps1 Modified to create nested folder structure with date-prefixed title placeholder and added rename guidance
README.md Updated documentation to describe the new directory structure and manual creation steps
AGENTS.md Updated agent documentation with new directory structure throughout all references

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Write-Output "Blog post template created at $filePath"
Write-Output "Blog post template created at $filePath"
Write-Output "Remember to rename the folder with a descriptive title!"
Write-Output "Example: Rename-Item '$folderPath' '$date-your-topic-here'"
Copy link

Copilot AI Jan 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Rename-Item example is incorrect. It attempts to rename the full path to just the date and topic, but should rename to the full path with the new slug. The correct target should be 'docs/posts/$year/$month/$day/$date-your-topic-here' to match the bash script's mv example pattern.

Suggested change
Write-Output "Example: Rename-Item '$folderPath' '$date-your-topic-here'"
Write-Output "Example: Rename-Item '$folderPath' 'docs/posts/$year/$month/$day/$date-your-topic-here'"

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants