DRY the docs jade templates