johannschopplich / kirby-serp-preview
Kirby Panel plugin for search engine result page previews
Package info
github.com/johannschopplich/kirby-serp-preview
Type:kirby-plugin
pkg:composer/johannschopplich/kirby-serp-preview
Fund package maintenance!
1.4.2
2026-07-15 12:06 UTC
README
Kirby SERP Preview
Kirby SERP Preview is a plugin for Kirby CMS. It adds a Panel section that draws the Google result snippet for the page being edited – favicon, site name, URL, title and description – and redraws it as you type, before anything is saved.
Features
- 🖱️ One Section, Any Page: Add the section type to a page blueprint – there is nothing else to set up.
- ⚡ Redraws as You Type: The snippet follows the open form rather than the saved content, and never writes back.
- 🏷️ Title and Description Fields: Name the fields it reads, each with a fallback for when they are empty.
- ✂️ Formatters: A closure in your config shortens or cleans the text before the snippet draws it.
- 🧩 Kirby Queries: Every display property accepts
{{ ... }}, resolved against the current model. - 🔗 Search Console Link: An optional button below the snippet, pointing at the URL you configure.
- 🌓 Light and Dark Mode: Google's own snippet colors, following the Panel theme.
Requirements
- Kirby 4 or Kirby 5
Installation
Composer (Recommended)
composer require johannschopplich/kirby-serp-preview
Manual Installation
Download and copy this repository to /site/plugins/kirby-serp-preview.
Documentation
For installation, configuration, and usage, see the Kirby SERP Preview documentation.
License
MIT License © 2023-PRESENT Johann Schopplich
MIT License © 2023 Dennis Baum