You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
475 B
15 lines
475 B
2 years ago
|
<% if (post.link){ %>
|
||
|
<h1 itemprop="name">
|
||
|
<a class="<%= class_name %>" href="<%- url_for(post.link) %>" target="_blank" itemprop="url"><%= post.title %></a>
|
||
|
</h1>
|
||
|
<% } else if (post.title){ %>
|
||
|
<% if (index){ %>
|
||
|
<h1 itemprop="name">
|
||
|
<a class="<%= class_name %>" href="<%- url_for(post.path) %>"><%= post.title %></a>
|
||
|
</h1>
|
||
|
<% } else { %>
|
||
|
<h1 class="<%= class_name %>" itemprop="headline name">
|
||
|
<%= post.title %>
|
||
|
</h1>
|
||
|
<% } %>
|
||
|
<% } %>
|