Skip to content

Commit

Permalink
use more semantic tags
Browse files Browse the repository at this point in the history
  • Loading branch information
syaning committed Nov 9, 2016
1 parent bfdd4b9 commit 545d73d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _sass/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
margin-bottom: $spacing-unit / 4;

@include media-query($on-palm) {
span {
time {
display: block;
font-size: $small-font-size;
}
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h2 class="smallcap">posts</h2>
<ul class="post-list">
{% for post in site.posts limit:5 %}
<li>
<span>{{ post.date | date: "%b %d, %Y" }}</span>
<time datetime="{{ post.date | date_to_xmlschema }}">{{ post.date | date: "%b %d, %Y" }}</time>
<a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</li>
{% endfor %}
Expand Down

0 comments on commit 545d73d

Please sign in to comment.