add github pages conf
add base tag to head
add getUrl to templates