Commit 5da4ee00 authored by Jamie Tanna's avatar Jamie Tanna

Merge branch 'feautre/hentry-author' into 'fork'

Add an author h-card to posts

See merge request !42
parents c476d1e8 d1de419c
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<p>This post's permalink is <a class="u-url" href="{{ .Site.Params.LiveSiteUrl }}{{ .URL }}">{{ .Site.Params.LiveSiteUrl }}{{ .URL }}</a> and has the following summary:</p>. <p>This post's permalink is <a class="u-url" href="{{ .Site.Params.LiveSiteUrl }}{{ .URL }}">{{ .Site.Params.LiveSiteUrl }}{{ .URL }}</a> and has the following summary:</p>.
<blockquote class="p-summary">{{ .Description }}</blockquote> <blockquote class="p-summary">{{ .Description }}</blockquote>
</div> </div>
<p>Written by <strong>{{ .Site.Params.author }}</strong> on <strong><time class="dt-published" datetime="{{ .PublishDate }}">{{ dateFormat "02 January 2006" .PublishDate }}</time></strong> <p>Written by <a class="p-author h-card p-name u-url" href="{{ .Site.Params.LiveSiteUrl }}">{{ .Site.Params.author }}</a> on <strong><time class="dt-published" datetime="{{ .PublishDate }}">{{ dateFormat "02 January 2006" .PublishDate }}</time></strong>
{{- if .GitInfo -}} {{- if .GitInfo -}}
{{- if .GitInfo.AuthorDate -}} {{- if .GitInfo.AuthorDate -}}
{{- if ne .PublishDate .GitInfo.AuthorDate -}} {{- if ne .PublishDate .GitInfo.AuthorDate -}}
......
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