Link root correctly if pages is served from subdir
Link root correctly if pages is served from subdir

Fixes #32

jalim/hugo-material-docs,jshook/hugo-material-docs,jshook/hugo-material-docs,digitalcraftsman/hugo-material-docs