Skip to content

Commit

Permalink
Post meta in list
Browse files Browse the repository at this point in the history
  • Loading branch information
hanju-jo committed Oct 6, 2017
1 parent 1b912ea commit cee311c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
16 changes: 16 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,22 @@ <h1>
</a>
</h1>

<div clsss="meta">
<span class="date">
{{ post.date | date: "%Y-%m-%d" }}
</span>

<ul class="tag">
{% for tag in post.tags %}
<li>
<a href="{{ site.url }}{{ site.baseurl }}/tags#{{ tag }}">
{{ tag }}
</a>
</li>
{% endfor %}
</ul>
</div>

<div class="entry">
{{ post.excerpt }}
</div>
Expand Down
7 changes: 2 additions & 5 deletions style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -398,13 +398,10 @@ nav {
}
}

//
// .main
//

// Posts
.posts > .post {
padding-bottom: 2em;
border-bottom: 1px solid $lightGray;
border-bottom: 1px solid $divider-color;
}

.posts > .post:last-child {
Expand Down

0 comments on commit cee311c

Please sign in to comment.