diff --git a/layouts/partials/docs/post-meta.html b/layouts/partials/docs/post-meta.html index 527431a..01adf8b 100644 --- a/layouts/partials/docs/post-meta.html +++ b/layouts/partials/docs/post-meta.html @@ -1,4 +1,4 @@ -{{ with .Date}} +{{ with .Date }}
{{ partial "docs/date" (dict "Date" . "Format" $.Site.Params.BookDateFormat) }}
{{ end }} @@ -12,12 +12,12 @@ {{ end }} {{ end }} +{{ if .Params.image }}

-{{ if .Params.image}} {{ with .Resources.GetMatch .Params.image }} {{ else }} {{ end }} -{{ end }}

+{{ end }} diff --git a/layouts/posts/list.html b/layouts/posts/list.html index 12207c8..badf0f6 100644 --- a/layouts/posts/list.html +++ b/layouts/posts/list.html @@ -2,7 +2,7 @@ {{ range sort .Paginator.Pages }}

- {{ .Title }} + {{ partial "docs/title.html" . }}

{{ partial "docs/post-meta" . }}

diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 79cd303..301ca1e 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -1,7 +1,7 @@ {{ define "main" }}

- {{ .Title }} + {{ partial "docs/title.html" . }}

{{ partial "docs/post-meta" . }} {{- .Content -}} diff --git a/layouts/taxonomy/taxonomy.html b/layouts/taxonomy/taxonomy.html index 12207c8..badf0f6 100644 --- a/layouts/taxonomy/taxonomy.html +++ b/layouts/taxonomy/taxonomy.html @@ -2,7 +2,7 @@ {{ range sort .Paginator.Pages }}