|
@@ -34,16 +34,29 @@
|
|
|
}
|
|
|
})
|
|
|
%>
|
|
|
- <p><%- '↬ In this series: [ ' + seriesList.join(' | ') + ' ] ' + (page.seriesSuffix || '') %></p>
|
|
|
+ <p><%- '↬ In this series: [ ' + seriesList.join(' | ') + ' ] ' + (page.seriesSuffix || '') %></p>
|
|
|
+ <% } %>
|
|
|
+ <%- page.content %>
|
|
|
+ <%
|
|
|
+ var authors = page.author
|
|
|
+ if (authors === (authors + '')) {
|
|
|
+ authors = [ page.author ]
|
|
|
+ }
|
|
|
+
|
|
|
+ console.log(authors)
|
|
|
+
|
|
|
+
|
|
|
+ for (var i in authors) {
|
|
|
+ var author = authors[i]
|
|
|
+ %>
|
|
|
+ <div class="PostAuthor">
|
|
|
+ <a href="https://transloadit.com/about/#<%- site.data.authors[author].id %>">
|
|
|
+ <img class="PostAuthor-img" src="<%- gravatar(site.data.authors[author].email, 200) %>">
|
|
|
+ <h4 class="PostAuthor-name"><%- site.data.authors[author].name %></h4>
|
|
|
+ <h5 class="PostAuthor-tagline"><%- site.data.authors[author].tagline %></h5>
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
<% } %>
|
|
|
- <%- page.content %>
|
|
|
- <div class="PostAuthor">
|
|
|
- <a href="https://transloadit.com/about/#<%- site.data.authors[page.author].id %>">
|
|
|
- <img class="PostAuthor-img" src="<%- gravatar(site.data.authors[page.author].email, 200) %>">
|
|
|
- <h4 class="PostAuthor-name"><%- site.data.authors[page.author].name %></h4>
|
|
|
- <h5 class="PostAuthor-tagline"><%- site.data.authors[page.author].tagline %></h5>
|
|
|
- </a>
|
|
|
- </div>
|
|
|
<br />
|
|
|
<br />
|
|
|
<%- partial('partials/comments') %>
|