diff options
author | xiaopengli89 <x.friday@outlook.com> | 2020-05-20 15:12:08 +0300 |
---|---|---|
committer | xiaopengli89 <x.friday@outlook.com> | 2020-05-20 15:12:08 +0300 |
commit | 673becbfc658ba0a8848151fb34e9b8666eba49d (patch) | |
tree | e3374da83268c25f55d6231755a1f3014fc3ab01 | |
parent | b55b84bed026853f820636549a494861da9cdb0a (diff) |
fix: author in render_single_article.html
-rw-r--r-- | layouts/partials/render_single_article.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/render_single_article.html b/layouts/partials/render_single_article.html index 4248835..8fb738b 100644 --- a/layouts/partials/render_single_article.html +++ b/layouts/partials/render_single_article.html @@ -1,7 +1,7 @@ {{ if or (.Date) (ne .Params.Kind "page") }} <div class="date"> <time pubdate="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 2, 2006" }}</time> - <span class="author">by Pravin Paratey</span> + <span class="author">by {{ .Author }}</span> </div> {{ end }} <article> @@ -13,4 +13,4 @@ {{ end }} </div> {{ replace .Content "<table>" "<table class='pure-table pure-table-striped'>" | safeHTML }} -</article>
\ No newline at end of file +</article> |