Permalink
Browse files

Use author from post, fall back do author from site config.

  • Loading branch information...
jbub committed Jan 12, 2018
1 parent 048d9e4 commit d40349f7692bd3a0b2e99798dba6d6b87c10d12c
Showing with 1 addition and 1 deletion.
  1. +1 −1 layouts/partials/post-header.html
@@ -8,7 +8,7 @@ <h1 class="post-title" itemprop="name headline">{{ .Title }}</h1>
<span>by</span>
<span itemscope="" itemprop="author" itemtype="https://schema.org/Person">
<span itemprop="name">
<a href="{{ .Site.Author.profile }}" itemprop="url" rel="author">{{ .Site.Author.name }}</a>
<a href="{{ .Params.profile | default .Site.Author.profile | default "#" }}" itemprop="url" rel="author">{{ .Params.author | default .Site.Author.name }}</a>
</span>
</span>
</p>

0 comments on commit d40349f

Please sign in to comment.