Skip to main content

Untitled

frontend/content/blog/

Markdown blog posts rendered at /blog/[slug]/. Parsed at build time by lib/blog.ts using gray-matter (frontmatter) and remark (HTML rendering).

UX Intent

Blog posts target long-tail SEO keywords (e.g., "best budget olympic barbells under 300"). Each post should include affiliate links, comparison tables, and clear product recommendations.

Required Frontmatter

title: "Post Title"
slug: "url-slug"
date: "YYYY-MM-DD"
excerpt: "Short description for blog index cards"
author: "GarageGymScout"
keywords: "comma, separated, seo, keywords"

Conventions

  • Filename should match the slug (e.g., best-budget-power-racks-under-500.md).
  • Files starting with _ are excluded from rendering.
  • Markdown supports GFM tables and standard formatting via remark-gfm.
  • Posts are sorted by date descending on the blog index.
  • Rendered HTML uses the .prose class styles from globals.css.

Gotchas

  • The slug frontmatter field overrides the filename-derived slug if present.
  • After adding posts, run npm run generate:sitemap to include them in the sitemap.

Affiliate Disclosure

GarageGymScout is reader-supported. When you buy through links on our site, we may earn an affiliate commission at no extra cost to you.