Instead of repeating it on all pages, couldn't you move it to the layout template ?