Skip to content

A Kirby panel-widget which shows broken links within the pages.

License

Notifications You must be signed in to change notification settings

wottpal/kirby-broken-links-widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔗 Broken Links Checker Widget by @wottpal

Release MIT Tweet

A panel-widget for the Kirby CMS which shows broken links within the pages.

Screenshot of the Broken-Links Panel-Widget

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).

🎉 That's it.

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.

Twitter Follow

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.

About

A Kirby panel-widget which shows broken links within the pages.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages