{{- $date := partial "docs/date" (dict "Date" .GitInfo.AuthorDate.Local "Format" .Site.Params.BookDateFormat) -}}
{{- $commitPath := default "commit" .Site.Params.BookCommitPath -}}
{{ $date }}
{{ end }}
{{ if and .File .Site.Params.BookRepo .Site.Params.BookEditPath }}