From fff89a4e30b5cdc372e4e64c41597dd494028d53 Mon Sep 17 00:00:00 2001
From: Aditya Telange <21258296+adityatelange@users.noreply.github.com>
Date: Sun, 26 Jul 2020 19:17:04 +0530
Subject: [PATCH] list, index : show post authors
---
layouts/_default/index.html | 1 +
layouts/_default/list.html | 1 +
2 files changed, 2 insertions(+)
diff --git a/layouts/_default/index.html b/layouts/_default/index.html
index 94ab8ff2..6cbf1b81 100644
--- a/layouts/_default/index.html
+++ b/layouts/_default/index.html
@@ -34,6 +34,7 @@
{{ if $.Site.Params.ShowReadingTime }} .
{{ .ReadingTime }}{{ $.Site.Params.MinuteReadingTime | default "min read" }}{{ end }}
+ {{ if or .Params.author .Site.Params.author }} . {{ .Params.author | default .Site.Params.author }}{{ end }}
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index bf67f370..6a3ca91f 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -29,6 +29,7 @@
{{ if $.Site.Params.ShowReadingTime }} .
{{ .ReadingTime }}{{ $.Site.Params.MinuteReadingTime | default "min read" }}{{ end }}
+ {{ if or .Params.author .Site.Params.author }} . {{ .Params.author | default .Site.Params.author }}{{ end }}