• Verified
  • Free plan

Wagtail Metadata Mixin

Listed under GitHub repos

Wagtail Metadata Mixin is an open source Python package that adds OpenGraph, Twitter Card and Schema.org JSON-LD tags to Wagtail CMS pages.

Used for

  • OpenGraph tag generation
  • Twitter Card tags
  • Schema.org JSON-LD output

What Wagtail Metadata Mixin does

wagtail-metadata-mixin is a Python package for Wagtail CMS that adds OpenGraph, Twitter Card and Schema.org snippet tags to pages. A page model inherits from MetadataPageMixin placed before Wagtail's Page class, and metadata output is rendered by including the meta/meta.html template in the site's base template. It depends on django-meta for the underlying tag handling and configuration.

Setup is three steps: install django-meta and configure it, add wagtailmetadata to INSTALLED_APPS, then include meta/meta.html inside the head element with the meta_namespaces and meta_namespaces_schemaorg tags on the html and head elements. Custom tags, properties and the search image rendition can be adjusted. The package is MIT licensed, written in Python, and tested against Wagtail 6.3 to 8.0.

Key features

OpenGraph and Twitter tags
Generates OpenGraph and Twitter Card snippet tags for Wagtail pages through a model mixin rather than hand written template markup.
Schema.org snippet output
Emits Schema.org tags, with a schemaorg_type attribute set on each page model such as Page.
Mixin placed before Page
MetadataPageMixin must come before the Page class in the model's inheritance list for tags to resolve.
django-meta dependency
Requires django-meta to be installed and configured first; the package builds on its tag handling and settings.
Template namespace tags
Renders tags by including meta/meta.html and loading the meta_namespaces and meta_namespaces_schemaorg template tags.
Custom tags and properties
A documented route for adding custom meta tags and properties beyond the defaults the mixin supplies.
Custom search image rendition
The image rendition used for the search and social preview can be customised per project.
Version compatibility matrix
Tested against Wagtail 6.3 to 8.0, Django 5.2, 6.0 and 6.1, and Python 3.11 to 3.15.
PyPI install
Installed with pip install wagtail-metadata-mixin, preferably inside a virtual environment.

How it works

  1. Install django-meta and configure it in the Django project settings.
  2. Run pip install wagtail-metadata-mixin, preferably inside a virtual environment.
  3. Add wagtailmetadata to INSTALLED_APPS in the project settings.
  4. Subclass MetadataPageMixin ahead of Wagtail's Page class on each page model.
  5. Include meta/meta.html in the base template head, with the namespace tags applied.
  6. Optionally set custom tags, properties or the search image rendition.

Plans and pricing

Distributed as free open source under the MIT licence via PyPI; no paid tiers are listed.

Integrations and platforms

Works with

  • Wagtail
  • Django
  • django-meta
  • PyPI

Available as

  • Web

Repository facts

  • Repositorybashu/wagtail-metadata-mixin
  • LanguagePython
  • Stars50
  • Forks19
  • LicenceMIT
  • Created2016-09-21
  • Last commit2026-11-23
  • Open issues0
  • django
  • django-meta
  • metatags
  • opengraph
  • schema-org
  • seo
  • seo-optimization
  • social-network
  • twitter-card
  • wagtail

Services and details

  • Does SEO work itself

    Yes
  • Free plan or free tools

    Yes

No information yet on keyword research, content optimization, writes content with AI, technical audits, rank tracking, backlinks and link building, local SEO, AI search visibility, free trial, API or MCP server, WordPress plugin, browser extension, built for agencies. The website did not say; check with the vendor.

Compare with other SEO tools:

About the company

Listing compiled from public sources and the product's own website. Last updated 2026-11-12. Report a correction or request removal. Back to GitHub repos.