kirby-meta-knight
kirby-meta-knight copied to clipboard
Using page->text() as fallback meta
This is something I mentioned in Issue #14, and I ended up adding these changes to my own site. I'm putting it in as a PR just in case you think it would help you as well.
So basically, what this does in a nutshell is add an excerpt of page->text()->excerpt(180)
as a fallback between manually enterered meta info and the sitewide meta info.
So, for example, OpenGraph looks like...
- OpenGraph Description
- Meta Description
- Excerpt of Page Text
- Sitewide Meta Description
- blank/error message
If this is unhelpful or not what you were thinking for this plugin, do please ignore. Just providing what I did in case it helps others.