{{ define "header" }} {{ .Site.Name }} home | write {{ if .Session }} {{ .Session.Username }} | logout {{ else }} login {{ end }} {{ end }}