{{ with .ctx }}

{{- if and .Weight (gt .Weight 0) }} {{- end }} {{- if $.IsHome }} {{- if and (isset .Params "link") (ne .Params.Link "") }} {{ .Title }} {{- else }} {{- end }} {{- else }} {{- .Title }} {{- if .Site.Params.postEdit.enable }} {{- $editURL := printf "%s%s" .Site.Params.postEdit.url (path.Clean .File.Path) }} {{- end }} {{- end }}

{{- if not $.IsHome }} {{ end }}
{{ end }}