{{ if and .File .Site.Params.BookRepo .Site.Params.BookEditPath }}
{{ end }}
{{ if and .GitInfo .Site.Params.BookRepo }}
{{- $date := partial "docs/date" (dict "Date" .GitInfo.AuthorDate.Local "Format" .Site.Params.BookDateFormat) -}}
{{- $commitPath := default "commit" .Site.Params.BookCommitPath -}}
Last edited
commit {{ .GitInfo.Hash }}
author: {{ .GitInfo.AuthorName }} <{{ .GitInfo.AuthorEmail }}>
date: {{ $date }}
{{ end }}
{{ $script := resources.Get "clipboard.js" | resources.Minify }}
{{ with $script.Content }}
{{ end }}