Eleventy Plugin Baseline

A magic carpet ride

Documentation — Table of Contents

Social Previews Checklist

Set Open Graph and Twitter meta with global defaults and per-page overrides. Keep social images absolute (use site.url or your CDN) to avoid localhost in previews. This is a quick checklist; for the full walkthrough, see the tutorial “Custom Social Previews.”

Prerequisites

Steps

  1. Set global defaults in src/_data/head.js (OG/Twitter title, description, image).
  2. Override per page in front matter under head.openGraph / head.twitter.
  3. Use absolute URLs for images (combine site.url + path).
  4. Verify: dev/build, view source for og:* and twitter:*, confirm canonical origin.

Notes

Previous: How-To’s

Next: Custom PostCSS Config