Use class instead of id for CSS specificity ❤️

This commit is contained in:
Joel Glovier 2014-02-15 23:16:47 -05:00
parent a11f01784a
commit 6773307237
1 changed files with 2 additions and 1 deletions

View File

@ -2,8 +2,9 @@
layout: default layout: default
--- ---
<div id="home">
<h1>Blog Posts</h1> <h1>Blog Posts</h1>
<div class="home">
<ul class="posts"> <ul class="posts">
{% for post in site.posts %} {% for post in site.posts %}
<li><span class="post-date">{{ post.date | date: "%b %-d, %Y" }}</span> <a class="post-link" href="{{ post.url }}">{{ post.title }}</a></li> <li><span class="post-date">{{ post.date | date: "%b %-d, %Y" }}</span> <a class="post-link" href="{{ post.url }}">{{ post.title }}</a></li>