A Kirby panel-widget which shows broken links within the pages.
MIT License
A panel-widget for the Kirby CMS which shows broken links within the pages.
Disclaimer: This is a pre-release and it is not feature-complete yet. (see Roadmap below)
Use Kirby's CLI and install the plugin via: kirby plugin:install wottpal/kirby-broken-links-widget
or place the repo manually under site/plugins
(without the kirby-
prefix).
That's it.
The following options can be set globally in your config.php
with c::set($key, $value = null)
. You can also set multiple keys with c::set([$key => $value, ..])
.
Please prefix every key with broken-links.
!
key | default | description |
---|---|---|
include-external |
false |
Not only test for internal links but also for external ones.* |
include-fields |
['text'] |
Use other fields than text to search for broken links. |
exclude-pages |
[] |
Page-IDs to exclude from broken link search. |
exclude-links |
['/error'] |
Page-IDs or external links to exclude from broken link search. |
* Not recommended yet because it only works synchonously with the page-load of your panel which will slow everything quite down a bit.
Have a look at the releases page.
Just kidding. This plugin is totally free. Please consider following me on Twitter if it saved your day.
You can also check out one of my other Kirby-plugins: