{{ define "base" }} {{ $title := "" }} {{ $path := "" }} {{ if ne nil .NavbarActive }} {{ $title = .NavbarActive.Title }} {{ $path = .NavbarActive.Path }} {{ end }}