{{ partial "svg.html" (dict "context" . "name" "posts_single_date") }} {{ dateFormat .Site.Params.dateformNumTime .Page.Date.Local }}
{{ if and (not (eq .Page.Params.ShowLastmod nil)) (.Page.Params.ShowLastmod) }}
{{ if and .GitInfo .Site.Params.gitUrl }}
[{{ partial "svg.html" (dict "context" . "name" "posts_single_git_commit") }}{{ .Page.GitInfo.AbbreviatedHash -}} @ {{ dateFormat .Site.Params.dateformNum .Page.GitInfo.AuthorDate.Local }}]
{{ else if not (eq .Page.Lastmod .Page.Date ) }}
[{{.Site.Params.initialPublish | default "Initial Published on : "}} {{ dateFormat .Site.Params.dateformNumTime .Page.Lastmod.Local }}]
{{ else }}
{{ errorf "Lastmod is not found in Page Frontmatter or Lastmod is same as Date" }}
{{ end }}
{{ end }}