Skip to content

Commit

Permalink
Merge pull request #71 from stefenphelps/patch-1
Browse files Browse the repository at this point in the history
Update single.twig with time element
  • Loading branch information
jarednova authored Sep 25, 2018
2 parents 2790925 + 0c017f5 commit f0c031b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/single.twig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<section class="article-content">
<h1 class="article-h1">{{ post.title }}</h1>
<p class="blog-author">
<span>By</span><a href="{{post.author.path}}"> {{ post.author.name }} </a><span>&bull;</span> {{ post.date }}
<span>By</span><a href="{{post.author.path}}"> {{ post.author.name }} </a><span>&bull;</span> <time datetime="{{ post.date|date('Y-m-d H:i:s') }}">{{ post.date }}</time>
</p>
<div class="article-body">
{{post.content}}
Expand Down

0 comments on commit f0c031b

Please sign in to comment.