frontmatter
Generate correctly-formatted frontmatter for Hugo, Jekyll, Astro, Next.js, Dev.to, Hashnode, and Ghost. Auto-extracts description, reading time, slug, and suggests tags from article content. No external API calls required.
Instructions
Generate correctly-formatted frontmatter for SSGs and publishing platforms: hugo, jekyll, astro, nextjs, devto, hashnode, ghost. FREE. Auto-extracts description, reading_time, slug, and suggests tags from content. No external calls. Returns: { frontmatter: string, format, extracted: { slug, reading_time_min, description } }. Common errors: unknown format (VALIDATION_ERROR).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | The article title | |
| content | Yes | The article content — used to auto-extract description, reading time, tags | |
| format | Yes | Target frontmatter format | |
| tags | No | Optional tags — auto-extracted from content if omitted | |
| canonical_url | No | Canonical URL for the article | |
| featured_image | No | Featured/cover image URL | |
| author | No | Author name | |
| draft | No | Whether the post is a draft (default: true) |