{{ block "head-begin" . }}{{ end }}
{{ block "title" . }}{{ .Site.Title }}{{ end }}
{{ block "head-end" . }}{{ end }} {{ block "body-begin" . }}{{ end }}
lyte.dev
{{ $currentPage := . }} {{ range .Site.Menus.main }} {{ $active := or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }} {{ $active = or $active (eq .Name $currentPage.Title) }} {{ $active = or $active (and (eq .Name "Blog") (eq $currentPage.Section "post")) }} {{ $active = or $active (and (eq .Name "Tags") (eq $currentPage.Section "tags")) }}
{{ .Name }}
{{ end }}
{{ block "main" . }}{{ .Content }}{{ end }}
{{ block "body-end" . }}{{ end }}