{{ with .Site.GetPage "/blog" }}
{{ if .Site.Params.home.showLatest | default true }}

{{ i18n "index_blog_latestPosts" . }}

{{ range first 1 .Pages.ByPublishDate.Reverse }}
{{ .Date.Format (.Site.Params.dateFormat | default "Jan 02, 2006") }}

{{ .Title }}

{{ .Summary }} {{ if .Truncated }} {{ i18n "index_blog_readMore" . }} {{ end }}
{{ end }} {{ end }} {{ if .Site.Params.home.showAllPosts }}

{{ i18n "index_blog_allPosts" . }}

{{ partialCached "blog/li.html" . }} {{ else }} {{ end }}
{{ partial "top-icon.html" . }}

{{ end }}