{{ partial "head.html" . }}
{{ partial "navbar.html" . }}
{{ partial "header.html" . }}
{{ $s := path.Dir (.Permalink | relURL) }}
{{ $t := index (split $s "/") 2 }}
{{ $o := index (split $s "/") 1 }}
{{ if eq $t "img" }}
{{ partial "img.html" . }}
{{ else }}
{{ .Content }}
{{ end }}
{{ partial "footer.html" . }}