and having to copy/paste the code every time is tiring thinking about even.
Tiring and confusing. Why would you have you have to copy/paste the code every time you update?
And what does it matter how many pages you have? If the protection is to reserve the site for family viewing, all you need is password protection on the main page. And tell your family not to post links to any other pages in places where Google might find them. As long as you don't name your pages anything people might easily think of ("page2.html", say) chances of anyone finding a page by trial and error is close to zero.