How to Find Orphan Pages on Static Sites: Python Checker

This blog goes through the process of creating a Python script to find orphan pages (pages without internal links) on a website, Hugo static site files in this case. The script extracts all links from the site and compares it with the full list of pages to get pages which are orphaned.