add redirect option in template

redirects to a url if set in page page yaml

example yaml:

`redirect: http://example.com