diff --git a/assets/css/common/main.css b/assets/css/common/main.css
index c5417e2..3721408 100644
--- a/assets/css/common/main.css
+++ b/assets/css/common/main.css
@@ -83,14 +83,17 @@ pre:hover .copy-code {
display: block;
}
+.meta-item {
+ display: inline-block;
+}
.meta-item * {
color: var(--secondary);
}
.meta-item:not(:last-of-type):after {
content: "ยท";
- margin-inline-start: .3em;
- margin-inline-end: .3em;
+ margin-inline-start: .5em;
+ margin-inline-end: .5em;
}
.meta-item svg {
diff --git a/layouts/partials/post_meta.html b/layouts/partials/post_meta.html
index 776ecf8..253617d 100644
--- a/layouts/partials/post_meta.html
+++ b/layouts/partials/post_meta.html
@@ -2,20 +2,17 @@
{{- if not .Date.IsZero -}}
- {{ .Date | time.Format (default "January 2, 2006" site.Params.DateFormat) }}
-
+ {{ .Date | time.Format (default "January 2, 2006" site.Params.DateFormat) }}
{{- end }}
-
-{{- if .Params.tags }}
+{{- if .Params.tags -}}
{{- range ($.GetTerms "tags") -}}
{{ .LinkTitle }}
{{- end -}}
-
-
+
{{- end }}
@@ -24,8 +21,7 @@
{{- i18n "words" .WordCount | default (printf "%d words" .WordCount) -}}
-
-
+
{{- end }}
@@ -34,16 +30,14 @@
{{- i18n "read_time" .ReadingTime | default (printf "%d min" .ReadingTime) -}}
-
-
+
{{- end }}
{{- if (.Param "ShowAuthor") -}}
- {{- partial "author.html" . }}
-
+ {{- partial "author.html" . -}}
{{- end }}
@@ -63,6 +57,5 @@
{{- end }}
{{- end }}
-
-
+
{{- end }}