+ {{ partial "post_meta.html" . }}
{{ .Title }}
{{ .Content }}
{{ if .Params.tags }}{{ partial "post_tags.html" . }}{{ end }}
diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html
index e7db390..c066a06 100644
--- a/layouts/_default/summary.html
+++ b/layouts/_default/summary.html
@@ -1,4 +1,5 @@
{{- .Summary }}
+ {{ partial "post_meta.html" . }}
\ No newline at end of file
diff --git a/layouts/partials/post_meta.html b/layouts/partials/post_meta.html
new file mode 100644
index 0000000..56bb4dc
--- /dev/null
+++ b/layouts/partials/post_meta.html
@@ -0,0 +1,11 @@
+{{- if not .Date.IsZero }}
+
+{{ end }}
+{{- if ne .Date .Lastmod }}
+
+{{- end }}
+{{- if .Params.categories }}
+
+ Categories: {{ range $index, $category := .Params.categories }}{{ if gt $index 0 }}, {{ end }}{{ . }}{{ end }}
+
+{{- end }}
\ No newline at end of file
diff --git a/static/css/main.css b/static/css/main.css
index 24057ef..5dc352e 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -346,6 +346,26 @@ mark {
background-color: #f8ae00;
}
+.mt {
+ margin-top: 1rem;
+}
+
+.mb {
+ margin-bottom: 1rem;
+}
+
+.mla {
+ margin-left: auto;
+}
+
+.tal {
+ text-align: left;
+}
+
+.tar {
+ text-align: right;
+}
+
/* Header */
.header {
margin: 0 0 5px;
@@ -391,6 +411,17 @@ mark {
text-decoration: none;
}
+/* Post */
+.post__meta {
+ font-size: 14px;
+ color: #888;
+}
+
+.post__meta-published,
+.post__meta-lastmod {
+ display: block;
+}
+
.post__tags {
margin-top: 2rem;
}