* refactor: migrate to common eslint+prettier configs * fix: prettier frontend * feat: config changes * fix: lint issues * fix: lint * fix: type imports * fix: cyclical import issue * fix: lockfile * fix: missing dep * fix: switch to tabs * fix: continue switch to tabs * fix: rustfmt parity * fix: moderation lint issue * fix: lint issues * fix: ui intl * fix: lint issues * Revert "fix: rustfmt parity" This reverts commit cb99d2376c321d813d4b7fc7e2a213bb30a54711. * feat: revert last rs
Modrinth Blog Articles
This package contains the articles for the Modrinth blog. The articles are written in Markdown and are rendered on the Modrinth website.
How to add a new article
Write your article in the articles directory. The filename should be the slug of the article, and the file should have a .md extension. The first line of the file should be the frontmatter, which contains metadata about the article such as the title, summary and date of writing.
Example Frontmatter
---
title: Quintupling Creator Revenue and Becoming Sustainable
short_title: Becoming Sustainable
summary: Announcing an update to our monetization program, creator split, and more!
short_summary: Announcing 5x creator revenue and updates to the monetization program.
date: 2024-09-13T12:00:00-08:00
---
You can link other articles in the frontmatter, but it's recommended you're explicit about it, for example: https://modrinth.com/news/article/... instead of /news/article/.... It's not a requirement though, you just have to be careful about it.
You can place images in the public/{slug}/... directory, the thumbnail must be a .webp file named thumbnail.webp in the same public directory.