{{ 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 -}} Calendar {{ $date }}
{{ end }} {{ if and .File .Site.Params.BookRepo .Site.Params.BookEditPath }}
Edit {{ i18n "Edit this page" }}
{{ end }}
{{ $script := resources.Get "clipboard.js" | resources.Minify }} {{ with $script.Content }} {{ end }}