From 684cb2160fc84a75e17c5d423c000dc94487839e Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Tue, 20 Oct 2020 18:38:29 +0530 Subject: layouts: post_meta as partial --- layouts/_default/single.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'layouts/_default/single.html') diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 20c3bc9..b13fb74 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -8,11 +8,7 @@ {{- if .Params.hideMeta }}{{ else }}
- - {{- if $.Site.Params.ShowReadingTime -}} ·  - {{- $default_txt := print .ReadingTime " " "min" }} - {{- i18n "read_time" .ReadingTime | default $default_txt }}{{ end }} - {{- if or .Params.author .Site.Params.author }} · {{- .Params.author | default .Site.Params.author }}{{ end }} + {{- partial "post_meta.html" . -}} {{- if .IsTranslated -}} |