I know this is a fairly standard approach so what I want to do is go one step further and save time having to edit all the explicit examples when creating new pages. Some code i found that ive been trying to adapt is