2018-11-01 01:35:09 +00:00
|
|
|
<% if (post.link) { %>
|
2018-09-10 09:21:59 +00:00
|
|
|
<h1 itemprop="name">
|
2018-09-23 06:24:51 +00:00
|
|
|
<a class="<%= class_name %>" href="<%- url_for(post.link) %>" itemprop="url"><%= post.title %></a>
|
2018-09-10 09:21:59 +00:00
|
|
|
</h1>
|
2018-11-01 01:35:09 +00:00
|
|
|
<% } else if (post.title) { %>
|
|
|
|
<% if (index) { %>
|
2018-09-10 09:21:59 +00:00
|
|
|
<h1 itemprop="name">
|
|
|
|
<a class="<%= class_name %>" href="<%- url_for(post.path) %>"><%= post.title %></a>
|
|
|
|
</h1>
|
|
|
|
<% } else { %>
|
|
|
|
<h1 class="<%= class_name %>" itemprop="name">
|
|
|
|
<%= post.title %>
|
|
|
|
</h1>
|
|
|
|
<% } %>
|
2018-11-01 01:35:09 +00:00
|
|
|
<% } %>
|