18 lines
490 B
Plaintext
18 lines
490 B
Plaintext
<% 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) %>"
|
|
><%= post.title %></a
|
|
>
|
|
</h2>
|
|
<% } else { %>
|
|
<h1 class="<%= class_name %> sea-center" style="border-left:0" itemprop="name">
|
|
<%= post.title %>
|
|
</h1>
|
|
<% } %> <%- partial('topping') %> <% } %>
|