The lazysite-audit.pl script scans the docroot for orphaned pages
(pages that exist but are not linked from anywhere) and broken internal
links (links pointing to pages that do not exist).
perl plugins/audit.pl [options] [docroot]
The docroot defaults to the current directory.
--exclude path,path,... - comma-separated canonical paths to
exclude from the orphan report (e.g., --exclude index,404)--exclude-file FILE - file containing one exclusion per line.md files for Markdown link syntax and HTML
href/src attributes.html files for .url pages (since remote content is
not re-fetched).tt files under lazysite/templates/ for template linkshttp://, https://)#), data URIsassets/[%)lazysite/ directory (system files)ORPHANED PAGES (N)
/path source-file.md
BROKEN LINKS (N)
source-file.md -> /target
SUMMARY
Source pages: N
Orphaned: N
Broken links: N
404 and index (root page) are always excluded from the orphan
report.
/index
to the parent path