Commit 073b36bd authored by wu-lee's avatar wu-lee

theme/partials/post_footer.hbs - add full date/author info

parent 73e67779
<footer class="post-footer clearfix">
{{#if git.author}}
<p class="post-date">Last modified <time datetime="{{date format='x'}}">{{date git.authored format="MMMM Do YYYY"}}</time> <strong>by {{authorLink git.author}}</strong></p>
{{/if}}
{{#if tags}}
<p class="post-tags"><span>Tagged:</span> {{tags}}</p>
{{/if}}
</footer>
<footer class="post-footer clearfix">
<p class="post-date">
{{#if git}}
First commit
<time datetime="{{date git.first.authored format='x'}}">{{date git.first.authored format="MMMM Do YYYY"}}</time>
<strong>by {{authorLink git.first.author}}</strong>.
{{#if git.span.authored }}
Last commit
<time datetime="{{date git.last.authored format='x'}}">{{date git.last.authored format="MMMM Do YYYY"}}</time>
<strong>by {{authorLink git.last.author}}</strong>.
{{/if}}
{{else}}
Uncommitted.
{{/if}}
Generated
<time datetime="{{date timestamp format='x'}}">{{date timestamp format="MMMM Do YYYY"}}</time>.
</p>
{{#if tags}}
<p class="post-tags"><span>Tagged:</span> {{tags}}</p>
{{/if}}
</footer>
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