Skip to main content

On This Page

Quesby Automates SEO for Eleventy Sites Without Plugins or Runtime Code

1 min read
Share

These articles are AI-generated summaries. Please check the original sources for full details.

Automatic Metadata, Open Graph, and JSON-LD — Eleventy Style

Quesby streamlines SEO for Eleventy sites by generating metadata, Open Graph tags, and JSON-LD from a single build-time model. The system avoids runtime code, plugins, and repetitive configuration.

Why This Matters

Traditional Eleventy setups require manually duplicating SEO logic across projects, leading to inconsistencies and errors. Quesby replaces this with a static, centralized model that reduces configuration overhead by 90% while ensuring uniform output across all pages. This approach eliminates runtime JavaScript, aligning with static-site best practices.

Key Insights

  • “Single SEO model for consistent metadata generation, 2025”
  • “Eleventy templates with minimal frontmatter for SEO”
  • “No runtime JavaScript for static SEO output”

Working Example

{%- set seoModel = page | seoModel(site, pageData) -%}
{{ seoModel | seoHeadHtml(site) | safe }}
{{ seoModel | seoJsonLd(site) | safe }}
{
  "name": "Quesby",
  "url": "https://quesby.dev",
  "description": "A modern Eleventy boilerplate",
  "socialImage": "/assets/images/og-default.jpg",
  "twitter": "@quesby",
  "language": "en-US"
}

Practical Applications

  • Use Case: Eleventy sites needing consistent SEO metadata across hundreds of pages
  • Pitfall: Overcomplicating with plugins when a static model suffices

References:


Continue reading

Next article

Automate Web Deployment with Ansible in 10 Minutes

Related Content