2019-12-03 11:37:44 +00:00
|
|
|
<% if (post.link){ %>
|
|
|
|
<h2 itemprop="name">
|
|
|
|
<a class="<%= class_name %>" href="<%- url_for(post.link) %>" itemprop="url"
|
|
|
|
><%= post.title %></a
|
|
|
|
>
|
|
|
|
</h2>
|
|
|
|
<% } else if (post.title){ %> <% if (index){ %>
|
|
|
|
<h2 itemprop="name">
|
|
|
|
<a class="<%= class_name %>" href="<%- url_for(post.path) %>"
|
2020-03-21 09:20:59 +00:00
|
|
|
><%= post.title %><%- partial('topping') %></a>
|
2019-12-03 11:37:44 +00:00
|
|
|
</h2>
|
|
|
|
<% } else { %>
|
|
|
|
<h1 class="<%= class_name %> sea-center" style="border-left:0" itemprop="name">
|
|
|
|
<%= post.title %>
|
|
|
|
</h1>
|
2020-03-21 09:20:59 +00:00
|
|
|
<% } %> <% } %>
|