mirror of
https://github.com/SouthFox-D/SouthFox-D.github.io.git
synced 2024-11-29 09:55:37 +01:00
26 lines
890 B
Text
26 lines
890 B
Text
|
<% if (item.link) { %>
|
||
|
<% if (item.title){ %>
|
||
|
<h1 class="title"><a href="<%- item.link %>" target="_blank"><%= item.title %></a></h1>
|
||
|
<% } else { %>
|
||
|
<h1 class="title"><a href="<%- item.link %>" target="_blank"><%= item.link %></a></h1>
|
||
|
<% } %>
|
||
|
<% } else { %>
|
||
|
<% if (index) { %>
|
||
|
<!-- display as entry -->
|
||
|
<div class="row">
|
||
|
<div class="col-md-8">
|
||
|
<h3 class="title">
|
||
|
<a href="<%- url_for('./') %><%- item.path %>" <% if(item.description) { %>title="<%= item.description %>"<% } %>><%= item.title %></a>
|
||
|
</h3>
|
||
|
</div>
|
||
|
<div class="col-md-4">
|
||
|
<div class="date">发布于 @ <%= item.date.format(config.date_format) %> </div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<% } else { %>
|
||
|
<div class="page-header">
|
||
|
<h1><% if (item.icon) { %> <i class="<%= item.icon %>"></i> <% } %> <% if (item.page_title) { %><%= item.page_title %><% }else{ %><%= item.title %><% } %></h1>
|
||
|
</div>
|
||
|
<% } %>
|
||
|
<% } %>
|