Skip to content

feat: add script new post automatic - #22

Merged
kellen-xavier merged 1 commit into
developfrom
feature/update-blog-e-new-post
Sep 29, 2026
Merged

kellen-xavier merged 1 commit into
developfrom
feature/update-blog-e-new-post

Conversation

@kellen-xavier

Copy link
Copy Markdown
Owner

What is done?

  • Creates content/docs//<mês-pt>/.md, auto-creating the year/month folders if they don't exist yet (using the same lowercase, no-accent month names your layouts/home.html and existing content already use, e.g. marco, setembro).
  • Generates the slug from the title (strips accents, lowercases, hyphenates).
  • Sets date to today, tags from what you pass in (or [] if none), and draft: true always — you flip it to false by hand once it's ready to publish.
  • Refuses to overwrite if a post with that slug already exists that month.

@kellen-xavier kellen-xavier self-assigned this Sep 29, 2026
@netlify

netlify Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for ladydebug ready!

Name Link
🔨 Latest commit 8a2fe5d
🔍 Latest deploy log https://app.netlify.com/projects/ladydebug/deploys/6abc44767ea30700089d184b
😎 Deploy Preview https://deploy-preview-22--ladydebug.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 100
Accessibility: 87
Best Practices: 100
SEO: 95
PWA: 70
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@kellen-xavier
kellen-xavier merged commit a8c0b28 into develop Sep 29, 2026
4 of 5 checks passed
@kellen-xavier
kellen-xavier deleted the feature/update-blog-e-new-post branch September 29, 2026 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant