Commit 80342613 authored by Rajesh Shenoy's avatar Rajesh Shenoy Committed by GitHub

Merge pull request #31 from davidcai/author-image-url-fix

fix(layout): Make author image url honor baseURL
parents 70a49416 719fd60f
<header class="row text-center header">
{{ with .Site.Params.authorimage }} <img src="img/{{ . }}" alt="Author Image" class="img-circle text-center headshot"> {{ end }}
{{ with .Site.Params.authorimage }} <img src="/img/{{ . }}" alt="Author Image" class="img-circle text-center headshot"> {{ end }}
<h1 class="author">{{ .Site.Params.author }}</h1>
</header>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment