This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git


The following commit(s) were added to refs/heads/master by this push:
     new a568c15  CAMEL-14675: restore blog authors in summary layout
a568c15 is described below

commit a568c15bccb6c66d1854a61fc50b5c346adf1dfe
Author: Zoran Regvart <zregv...@apache.org>
AuthorDate: Wed Apr 1 14:45:46 2020 +0200

    CAMEL-14675: restore blog authors in summary layout
---
 layouts/blog/summary.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/layouts/blog/summary.html b/layouts/blog/summary.html
index 80005f9..edb1ea9 100644
--- a/layouts/blog/summary.html
+++ b/layouts/blog/summary.html
@@ -9,7 +9,7 @@
         {{ if .Params.categories }}
             {{ range .Params.categories }}<a class="category" href="{{ 
"/categories/" | relURL }}{{ . | urlize }}/">{{ upper . }}</a>{{ end }}
         {{end}}
-        &#11825; <time itemprop="published" datetime="{{ dateFormat 
"2006-01-02" .PublishDate }}" title="{{ dateFormat "Monday, January 2, 2006" 
.PublishDate }}">{{ dateFormat "January 2, 2006" .PublishDate }}</time> 
&#11825; <span rel="author">{{ .Params.author }}</span>
+        &#11825; <time itemprop="published" datetime="{{ dateFormat 
"2006-01-02" .PublishDate }}" title="{{ dateFormat "Monday, January 2, 2006" 
.PublishDate }}">{{ dateFormat "January 2, 2006" .PublishDate }}</time> 
&#11825; {{ range $idx, $author := .Params.authors }}{{ if gt $idx 0 }}, {{ end 
}}<span rel="author">{{ (getJSON  "https://api.github.com/users/"; $author).name 
}}</span>{{ end }}
     </p>
 
 </article>

Reply via email to