Render Hook Templates and Site Variables

If I put {{ .Site.BaseURL }} somewhere in my render-heading.html it throws an error.

Is there a way to access site variables in render hook templates?

{{ .Page.Site.BaseURL }}