You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<%- partial('_pre') %>
|
|
|
|
<section class="widget <%- item.class %> <%- page.widget_style %> <%- page.widget_platform %>">
|
|
|
|
<div class='content'>
|
|
|
|
<% if(item.avatar) { %>
|
|
|
|
<div class='avatar'>
|
|
|
|
<img class='avatar' src='<%- item.avatar %>'/>
|
|
|
|
</div>
|
|
|
|
<%} %>
|
|
|
|
<% if (item.title || item.subtitle || item.jinrishici) { %>
|
|
|
|
<div class='text'>
|
|
|
|
<% if (item.title){ %>
|
|
|
|
<h2><%- item.title %></h2>
|
|
|
|
<% } %>
|
|
|
|
<% if (item.subtitle){ %>
|
|
|
|
<%- markdown(item.subtitle) %>
|
|
|
|
<% } %>
|
|
|
|
<% if (item.jinrishici){ %>
|
|
|
|
<p><span id="jinrishici-sentence"><%- item.jinrishici != true ? item.jinrishici : config.title %></span></p>
|
|
|
|
<script src="https://sdk.jinrishici.com/v2/browser/jinrishici.js" charset="utf-8"></script>
|
|
|
|
<% } %>
|
|
|
|
</div>
|
|
|
|
<% } %>
|
|
|
|
<% if (item.social == true && theme.footer.social) { %>
|
|
|
|
<div class="social-wrapper">
|
|
|
|
<% (theme.footer.social||[]).forEach(function(value){ %>
|
|
|
|
<% if (value.url && value.icon) { %>
|
|
|
|
<a href="<%- url_for(value.url) %>"
|
|
|
|
class="social <%- value.icon %> flat-btn"
|
|
|
|
target="_blank"
|
|
|
|
rel="external nofollow noopener noreferrer">
|
|
|
|
</a>
|
|
|
|
<%}%>
|
|
|
|
<%})%>
|
|
|
|
</div>
|
|
|
|
<% } %>
|
|
|
|
</div>
|
|
|
|
</section>
|