Skip to content

Update blog post generation#110

Merged
Mark-Simulacrum merged 1 commit into
rust-lang:masterfrom
senekor:senekor/mkxqsouyxwvz
May 9, 2026
Merged

Update blog post generation#110
Mark-Simulacrum merged 1 commit into
rust-lang:masterfrom
senekor:senekor/mkxqsouyxwvz

Conversation

@senekor
Copy link
Copy Markdown
Contributor

@senekor senekor commented May 4, 2026

The blog has undergone some changes. This is adapting the generated posts accordingly.

  • Blog posts now live under content/, not posts/.
  • They don't have the publish date in the file name anymore.
  • The frontmatter is now in TOML, instead of YAML. ("+++" fences instead of "---")
  • The expected content of the frontmatter has changed. (explicit URL path, team name and url separated, layout not necessary anymore etc.)

This also cleans up the generated markdown a little:

  • Remove trailing whitespace on last line.
  • Remove code block language "plain" which is not recognized by Zola.

closes #109

senekor added a commit to rust-lang/blog.rust-lang.org that referenced this pull request May 4, 2026
The automation in rust-lang/promote-release pushed this announcement
post directly to the main branch. Since the file was added in the old
"posts" directory, it was never picked up by the blog. It's now too late
to publish this again - Rust 1.95 has been released.

I've opened a PR to fix the promote-release automation in the future:
rust-lang/promote-release#110
@senekor senekor force-pushed the senekor/mkxqsouyxwvz branch from e4e10a5 to 5149875 Compare May 4, 2026 12:00
The blog has undergone some changes. This is adapting the generated
posts accordingly.

* Blog posts now live under `content/`, not `posts/`.
* They don't have the publish date in the file name anymore.
* The frontmatter is now in TOML, instead of YAML. ("+++" fences instead
  of "---")
* The expected content of the frontmatter has changed. (explicit URL
  path, team name and url separated, layout not necessary anymore etc.)

This also cleans up the generated markdown a little:

* Remove trailing whitespace on last line.
* Remove code block language "plain" which is not recognized by Zola.
@senekor senekor force-pushed the senekor/mkxqsouyxwvz branch from 5149875 to c85980c Compare May 4, 2026 12:03
@Mark-Simulacrum Mark-Simulacrum merged commit 438aff7 into rust-lang:master May 9, 2026
6 checks passed
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.

Broken post pushed to blog.rust-lang.org

2 participants