Skip to content

Fix Sveltia CMS configuration to add the correct extension in blogposts#392

Merged
andreslucena merged 2 commits into
mainfrom
fix/mozabmbique-blog
Mar 12, 2026
Merged

Fix Sveltia CMS configuration to add the correct extension in blogposts#392
andreslucena merged 2 commits into
mainfrom
fix/mozabmbique-blog

Conversation

@greenwoodt

@greenwoodt greenwoodt commented Mar 12, 2026

Copy link
Copy Markdown
Member

File type (HTML) missing from md blog name. This is now renamed.

Summary by CodeRabbit

  • Chores
    • Updated post file format configuration to support enhanced file handling.

@coderabbitai

coderabbitai Bot commented Mar 12, 2026

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

The post collection file extension in the admin configuration has been updated from "md" to "html.md". This single-line change modifies the file format that the admin panel recognizes for post collection entries, affecting how posts are processed and stored.

Changes

Cohort / File(s) Summary
Admin Configuration
source/admin/config.yml
Updated post collection file extension from md to html.md.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A config file tweak, so small yet so fine,
The posts now wear .html.md in line,
With just one small change, the format takes flight,
Our rabbit is hopping with pure delight! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Title check ✅ Passed The title accurately describes the main change: correcting the Sveltia CMS configuration by adding the correct file extension (html.md) to blogposts.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/mozabmbique-blog
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@netlify

netlify Bot commented Mar 12, 2026

Copy link
Copy Markdown

Deploy Preview for decidim-website ready!

Name Link
🔨 Latest commit f9a8f1b
🔍 Latest deploy log https://app.netlify.com/projects/decidim-website/deploys/69b29c8703c9be000917bca8
😎 Deploy Preview https://deploy-preview-392--decidim-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@greenwoodt greenwoodt added the fix label Mar 12, 2026

@andreslucena andreslucena left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I understand that this will happen again when we create a new PR through the Sveltia CMS (that we migrated to recently).

Can you fix it in the configuration? Its on source/admin/config.yml

@greenwoodt

Copy link
Copy Markdown
Member Author

I understand that this will happen again when we create a new PR through the Sveltia CMS (that we migrated to recently).

Can you fix it in the configuration? Its on source/admin/config.yml

Done

@greenwoodt greenwoodt requested a review from andreslucena March 12, 2026 11:01
@andreslucena andreslucena changed the title Fix mozabmbique blog Fix Sveltia CMS configuration add the correct extension in blogposts Mar 12, 2026
@andreslucena andreslucena changed the title Fix Sveltia CMS configuration add the correct extension in blogposts Fix Sveltia CMS configuration to add the correct extension in blogposts Mar 12, 2026
@andreslucena andreslucena merged commit 5dc2476 into main Mar 12, 2026
7 of 8 checks passed
@andreslucena andreslucena deleted the fix/mozabmbique-blog branch March 12, 2026 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants