🔗 Broken Links Checker Widget by @wottpal
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)
Installation
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).
Options
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.
Changelog
Have a look at the releases page.
Roadmap
- Make pages excludable
- Make fields user-definable
- Do checks asynchronously
- Check for internet-connection (if external links are enabled)
💰 Pricing
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:
- Lightbox-Gallery - Easily inline beautifully aligned galleries with lightbox-support powered by PhotoSwipe.
- HTML5-Video Kirbytag - Adds a kirbytag for embedding HTML5-videos with a variety of features.
- Anchor-Headings - A kirby field-method which enumerates heading-elements, generates IDs for anchor-links and inserts custom markup based on your needs.