blob: ca84d5c70a5ff74d0fb7b854de22efee50da5c53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<% 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" style="background-color: #222;">
<div class="col-md-8">
<h3 class="title">
<a href="<%- config.root %><%- item.path %>" <% if(item.description) { %>title="<%= item.description %>"<% } %>>ยป <%= item.title %></a>
</h3>
</div>
<div class="col-md-4">
<div class="date">post @ <%= 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>
<% } %>
<% } %>
|