{{ partial "docs/title.html" . }}
+ {{ partial "docs/inject/before-title.html" . }} {{partial "quartz/textprocessing" . }} {{ partial "quartz/footer" .}} {{/* {{- .Content -}} */}} diff --git a/layouts/partials/docs/inject/before-title.html b/layouts/partials/docs/inject/before-title.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/partials/docs/inject/toc-before.html b/layouts/partials/docs/inject/toc-before.html index e69de29..9ca3c64 100644 --- a/layouts/partials/docs/inject/toc-before.html +++ b/layouts/partials/docs/inject/toc-before.html @@ -0,0 +1,31 @@ +{{ i18n "copyright" (dict "name" $name "year" $year) | safeHTML}}
-
- {{ if not .IsHome }}
+
{{- range $data.links | default $.Site.Params.links -}}
- {{.link_name}} {{- end -}} diff --git a/layouts/partials/quartz/date-fmt.html b/layouts/partials/quartz/date-fmt.html index 6104226..dc71402 100644 --- a/layouts/partials/quartz/date-fmt.html +++ b/layouts/partials/quartz/date-fmt.html @@ -1,7 +1,7 @@ {{if .Date}} -{{.Date.Format "Jan 2, 2006"}} +{{.Date.Format $.Site.Params.BookDateFormat}} {{else if .Lastmod}} -{{.Lastmod.Format "Jan 2, 2006"}} +{{.Lastmod.Format $.Site.Params.BookDateFormat}} {{else}} Unknown {{end}} diff --git a/layouts/partials/quartz/fics/author-notes.html b/layouts/partials/quartz/fics/author-notes.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/partials/quartz/footer.html b/layouts/partials/quartz/footer.html index 3b13ed8..2ab83be 100644 --- a/layouts/partials/quartz/footer.html +++ b/layouts/partials/quartz/footer.html @@ -2,7 +2,7 @@
-{{/* {{if $.Site.Params.enableFooter}} */}} +{{if $.Site.Params.enableFooter}} -{{/* {{end}} */}} +{{end}} {{partial "quartz/contact" .}} diff --git a/layouts/partials/quartz/post-meta.html b/layouts/partials/quartz/post-meta.html new file mode 100644 index 0000000..e69de29