# HiD-BrokenLink A broken link checker for the HiD static site framework. After publishing, it scans the generated HTML, CSS and (optionally) JavaScript files and verifies that every local reference — links, images, stylesheets, scripts, inline `url()`s — points to a file that actually exists in the destination. ## Requirements - Perl 5.14+ - [HiD](https://git.genehack.net/genehack/hid) - Moose, Path::Tiny, HTML::Parser ## Installation ```sh cpanm byterazor::HiD::BrokenLink ``` ## Usage Add `+byterazor::HiD::BrokenLink` to the `plugins` key in your HiD config. The `+` prefix tells HiD to use the full class name rather than looking in the `HiD::Generator::` namespace: ```yaml plugins: - '+byterazor::HiD::BrokenLink' ``` The check runs after publishing and is enabled by default. ### Configuration | Key | Default | Description | | --- | --- | --- | | `brokenlink.enabled` | `1` | Run the check. | | `brokenlink.check_html` | `1` | Check `href`/`src`/`data`/`poster` attributes and inline `