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 %>'> |
<section class='widget <%- theme.blur.widget ? 'widget-blur' : '' %> <%- item.class %>'> |
||||||
<div class='content <%= theme.style %>'> |
<div class='content <%= theme.style %>'> |
||||||
<blockquote> |
<% if (item.blockquote == true) { %> |
||||||
<% (item.content||[]).forEach(function(row){ %> |
<blockquote> |
||||||
<p> |
<% (item.content||[]).forEach(function(row){ %> |
||||||
<% if (row == 'permalink') { %> |
<% if (row == 'permalink') { %> |
||||||
<%- item.permalink %><a href=<%- page.permalink %>><%- page.permalink %><a> |
<p><%- item.permalink %><a href=<%- page.permalink %>><%- page.permalink %><a></p> |
||||||
<% } else { %> |
<% } 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) %> |
||||||
|
<% } %> |
||||||
<% }) %> |
<% }) %> |
||||||
</blockquote> |
<% } %> |
||||||
</div> |
</div> |
||||||
</section> |
</section> |
||||||
|
Loading…
Reference in new issue