fix(schema): add "headline" to post title

* https://webmasters.stackexchange.com/a/98469
This commit is contained in:
curben 2019-06-27 22:39:54 +09:30
parent 5d216d3edf
commit 5f83dddf71
1 changed files with 1 additions and 3 deletions

View File

@ -8,8 +8,6 @@
<a class="<%= class_name %>" href="<%- url_for(post.path) %>"><%= post.title %></a>
</h1>
<% } else { %>
<h1 class="<%= class_name %>" itemprop="name">
<%= post.title %>
</h1>
<h1 class="<%= class_name %>" itemprop="headline name"><%= post.title %></h1>
<% } %>
<% } %>