diff --git a/layouts/partials/post_meta/author.html b/layouts/partials/post_meta/author.html new file mode 100644 index 0000000..3f8c7ef --- /dev/null +++ b/layouts/partials/post_meta/author.html @@ -0,0 +1,9 @@ +
+ + {{- if .Params.author -}} + by {{ .Params.author }} + {{- else if .Site.Author.name -}} + by {{ .Site.Author.name }} + {{- end -}} + +
diff --git a/layouts/partials/post_meta/date.html b/layouts/partials/post_meta/date.html new file mode 100644 index 0000000..40c8a17 --- /dev/null +++ b/layouts/partials/post_meta/date.html @@ -0,0 +1,13 @@ +{{- if not .Date.IsZero }} +
+ on + + {{- if ne .Date .Lastmod }} + + {{- end -}} +
+{{- end }}