Skip to content

Commit

Permalink
Fix #2691 (partially) -- use itemprop=author for Article schema
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Mar 10, 2017
1 parent 467f9fe commit a40fdd9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion nikola/data/themes/base-jinja/templates/index.tmpl
Expand Up @@ -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 %}
Expand Down
2 changes: 1 addition & 1 deletion nikola/data/themes/base-jinja/templates/post_header.tmpl
Expand Up @@ -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 %}
Expand Down
2 changes: 1 addition & 1 deletion nikola/data/themes/base/templates/index.tmpl
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion nikola/data/themes/base/templates/post_header.tmpl
Expand Up @@ -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:
Expand Down

0 comments on commit a40fdd9

Please sign in to comment.