parent
864f1c7eef
commit
5c0dc66849
2 changed files with 16 additions and 7 deletions
@ -1,15 +1,23 @@ |
||||
<section class='widget <%- theme.blur.widget ? 'widget-blur' : '' %> <%- item.class %>'> |
||||
<div class='content <%= theme.style %>'> |
||||
<% if (item.blockquote == true) { %> |
||||
<blockquote> |
||||
<% (item.content||[]).forEach(function(row){ %> |
||||
<p> |
||||
<% if (row == 'permalink') { %> |
||||
<%- item.permalink %><a href=<%- page.permalink %>><%- page.permalink %><a> |
||||
<p><%- item.permalink %><a href=<%- page.permalink %>><%- page.permalink %><a></p> |
||||
<% } else { %> |
||||
<%- row %> |
||||
<%- markdown(row) %> |
||||
<% } %> |
||||
</p> |
||||
<% }) %> |
||||
</blockquote> |
||||
<% } else { %> |
||||
<% (item.content||[]).forEach(function(row){ %> |
||||
<% if (row == 'permalink') { %> |
||||
<p><%- item.permalink %><a href=<%- page.permalink %>><%- page.permalink %><a></p> |
||||
<% } else { %> |
||||
<%- markdown(row) %> |
||||
<% } %> |
||||
<% }) %> |
||||
<% } %> |
||||
</div> |
||||
</section> |
||||
|
Loading…
Reference in new issue