diff options
author | Bergin Panimayam <bergin@bergin.io> | 2020-09-07 19:53:36 +0300 |
---|---|---|
committer | Bergin Panimayam <bergin@bergin.io> | 2020-09-07 19:53:36 +0300 |
commit | 94649790efa457f0d63764d7eb3f8d9671e07032 (patch) | |
tree | 1b896dd9591240f531cd7fae726f785fae4c7d41 | |
parent | a3ca696cc4f2736a0ae66dfdabde559d2fce1105 (diff) |
This will be helpful to show the name of the author when there are multiple authors
-rw-r--r-- | layouts/author/single.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/author/single.html b/layouts/author/single.html index e28aa97..2d1f130 100644 --- a/layouts/author/single.html +++ b/layouts/author/single.html @@ -19,7 +19,7 @@ <div class="container"> <div class="row"> <div class="col-lg-8 mx-auto px-0"> - <h2 class="mb-4">Post by author</h2> + <h2 class="mb-4">Posts by {{ .Title }}</h2> <div class="bg-white shadow block"> {{ $name:= .Title }} {{ range where .Site.RegularPages "Params.author" $name }} |