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 }}
- {{ if .Params.date }} - {{ .Date.Format "2006-01-02" }} - {{ end }} - - {{ range .Params.tags }} - - {{ . }} - - {{ end }} -
+{{ partial "content-details.html" . }}
{{ partial "summary.html" . }}