|
|
|
@ -5,7 +5,7 @@ |
|
|
|
|
<img class='avatar' src='<%- url_for(item.avatar) %>'/> |
|
|
|
|
</div> |
|
|
|
|
<%} %> |
|
|
|
|
<% if (item.title || item.body) { %> |
|
|
|
|
<% if (item.title || item.body || item.jinrishici) { %> |
|
|
|
|
<div class='text'> |
|
|
|
|
<% if (item.title){ %> |
|
|
|
|
<h2><%- item.title %></h2> |
|
|
|
@ -13,6 +13,10 @@ |
|
|
|
|
<% if (item.body){ %> |
|
|
|
|
<%- markdown(item.body) %> |
|
|
|
|
<% } %> |
|
|
|
|
<% if (item.jinrishici){ %> |
|
|
|
|
<p><span id="jinrishici-sentence"><%- config.title %></span></p> |
|
|
|
|
<script src="https://sdk.jinrishici.com/v2/browser/jinrishici.js" charset="utf-8"></script> |
|
|
|
|
<% } %> |
|
|
|
|
</div> |
|
|
|
|
<% } %> |
|
|
|
|
<% if (item.social == true && config.social) { %> |
|
|
|
@ -25,5 +29,4 @@ |
|
|
|
|
</div> |
|
|
|
|
<% } %> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
</section> |
|
|
|
|