diff --git a/layouts/partials/content-details.html b/layouts/partials/content-details.html new file mode 100644 index 0000000..717c40a --- /dev/null +++ b/layouts/partials/content-details.html @@ -0,0 +1,9 @@ + {{ if .Params.date }} + {{ .Date.Format "2006-01-02" }} + {{ end }} + + {{ if .Params.tags }} + {{ range $i, $e := .Params.tags }} + #{{ . }} + {{ end }} + {{ end }} diff --git a/layouts/partials/content.html b/layouts/partials/content.html index 4f308d4..2aa2b1e 100644 --- a/layouts/partials/content.html +++ b/layouts/partials/content.html @@ -3,17 +3,7 @@ {{ end }}

{{ .Title }}

{{ partial "subtitle.html" . }}
-

- {{ if .Params.date }} - {{ .Date.Format "2006-01-02" }} - {{ end }} - - {{ range .Params.tags }} - - {{ . }} - - {{ end }} -

+

{{ partial "content-details.html" . }}


{{ if .TableOfContents }} diff --git a/layouts/partials/list_item.html b/layouts/partials/list_item.html index ebc40d7..1b4f608 100644 --- a/layouts/partials/list_item.html +++ b/layouts/partials/list_item.html @@ -8,8 +8,9 @@ {{ end }}
-
{{ .Title }}
+
{{ .Title }}
+ {{ partial "content-details.html" . }}

{{ partial "summary.html" . }}