Closed grommasdietz closed 8 months ago
Thanks a lot for the PR and the effort behind it! Greatly appreciated.
previewUrl
🤔 I have simplified the logic a lot. In the previous version, the model's URL was split and then joined again... Which can be circumvented by relying on Kirby's previewUrl
field. This should include the correct language slug for multi-lang setups: https://github.com/johannschopplich/kirby-serp-preview/commit/e6aaaa29d9544af7e98c4b4505888a2f4f1fc983
Thanks again for your work. @grommasdietz Even if I don't merge this now, I appreciate a PR much more than an issue. It's so much easier moving forward.
P.S.: If any issues occur with the latest implementation, feel free to reach out! 🙂
Perfect, thank you!
Hi Dennis & Johann,
Thanks for your great plugin, nice to have the preview section as a standalone for custom workflows. Testing it for the first time I noticed that the preview url is showing the url with language code instead of its defined url. This leads to wrong urls, when the default url is not having the language code (and probably on any other definition). Like in this example:
Besides of that I noticed that the values of
titleContentKey
anddescriptionContentKey
have to be lowercase to work. Corrected that in the readme as well. Hope you are fine with this pull request, have a nice week!