diff --git a/layouts/book/all.html b/layouts/book/all.html index 2e81a33..616c6aa 100644 --- a/layouts/book/all.html +++ b/layouts/book/all.html @@ -19,10 +19,10 @@ {{ end }} {{- range ($indexScratch.Get "sections").ByTitle -}} -
+{{ .Title }}{{- if .Draft -}} :: Draft {{- end -}}
{{ truncate 140 .Summary }}
{{ end }} - -{{ end }} {{ end }}{{ .Params.subtitle }}
+{{- end -}} -{{- if .IsPage -}} - {{- if .Params.subtitle -}} -{{ .Params.subtitle }}
+{{- if and (.IsPage) (.Params.meta) -}} + {{- end -}}