Skip to content

Fix extension format on blogs #433

Merged
andreslucena merged 1 commit into
mainfrom
fix/blog-file-extension
Jun 8, 2026
Merged

Fix extension format on blogs #433
andreslucena merged 1 commit into
mainfrom
fix/blog-file-extension

Conversation

@greenwoodt

@greenwoodt greenwoodt commented Jun 8, 2026

Copy link
Copy Markdown
Member

For a time being we had an issue where Sveltia wouldn't accept html.md and Middleman won't pick up plain .md files.

Thanks to the fix: sveltia/sveltia-cms#784 from Sveltia, blogs can now be created without errors to the formatter in the web, while still having access via the admin area of the CMS.

Summary by CodeRabbit

  • Chores
    • Updated post file format configuration in content management settings.

@coderabbitai

coderabbitai Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

The PR updates the Middleman admin configuration to change the post collection file extension from "md" to "html.md", enabling support for HTML-in-Markdown file format for blog post content.

Changes

Post Collection Extension Configuration

Layer / File(s) Summary
Post file extension configuration
source/admin/config.yml
Post collection extension is updated from "md" to "html.md" to support HTML-embedded Markdown files.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • decidim/decidim.org#392: Both PRs modify source/admin/config.yml by changing the post collection's extension from "md" to "html.md", aligning the configured blog post file extension for HTML-in-Markdown handling.

Suggested reviewers

  • andreslucena

Poem

🐰 A tiny tweak, so small yet grand,
From md to html.md the config stands,
Blog posts now wear their HTML face,
Markdown and markup embrace with grace! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Linked Issues check ✅ Passed The PR successfully implements support for 'html.md' extensions as required by issue #784, enabling proper file creation and formatting in the Sveltia CMS web UI.
Out of Scope Changes check ✅ Passed The single file change is directly scoped to the objective of updating the extension configuration, with no extraneous modifications present.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Fix extension format on blogs' is directly related to the main change, which updates the blog file extension from 'md' to 'html.md' in the config file.

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

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/blog-file-extension

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 Jun 8, 2026

Copy link
Copy Markdown

Deploy Preview for decidim-website ready!

Name Link
🔨 Latest commit 5cd1e8f
🔍 Latest deploy log https://app.netlify.com/projects/decidim-website/deploys/6a2689bad3401a00084166ae
😎 Deploy Preview https://deploy-preview-433--decidim-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@greenwoodt greenwoodt changed the title Fix extension format on decidim.org blogs Fix extension format on blogs Jun 8, 2026
@andreslucena andreslucena merged commit 9f705ca into main Jun 8, 2026
8 checks passed
@andreslucena andreslucena deleted the fix/blog-file-extension branch June 8, 2026 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Supporting html.md extensions

2 participants