Skip to content
Permalink
Browse files

Fix #2691 (partially) -- use itemprop=author for Article schema

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Mar 10, 2017
1 parent 467f9fe commit a40fdd9c7a39bbe38eef8964ad9046af56ae989a
@@ -25,7 +25,7 @@
<header>
<h1 class="p-name entry-title"><a href="{{ post.permalink() }}" class="u-url">{{ post.title()|e }}</a></h1>
<div class="metadata">
<p class="byline author vcard"><span class="byline-name fn">
<p class="byline author vcard"><span class="byline-name fn" itemprop="author">
{% if author_pages_generated %}
<a href="{{ _link('author', post.author()) }}">{{ post.author()|e }}</a>
{% else %}
@@ -31,7 +31,7 @@
<header>
{{ html_title() }}
<div class="metadata">
<p class="byline author vcard"><span class="byline-name fn">
<p class="byline author vcard"><span class="byline-name fn" itemprop="author">
{% if author_pages_generated %}
<a href="{{ _link('author', post.author()) }}">{{ post.author()|e }}</a>
{% else %}
@@ -25,7 +25,7 @@
<header>
<h1 class="p-name entry-title"><a href="${post.permalink()}" class="u-url">${post.title()|h}</a></h1>
<div class="metadata">
<p class="byline author vcard"><span class="byline-name fn">
<p class="byline author vcard"><span class="byline-name fn" itemprop="author">
% if author_pages_generated:
<a href="${_link('author', post.author())}">${post.author()|h}</a>
% else:
@@ -31,7 +31,7 @@
<header>
${html_title()}
<div class="metadata">
<p class="byline author vcard"><span class="byline-name fn">
<p class="byline author vcard"><span class="byline-name fn" itemprop="author">
% if author_pages_generated:
<a href="${_link('author', post.author())}">${post.author()|h}</a>
% else:

0 comments on commit a40fdd9

Please sign in to comment.