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