Improving readability for users without CSS: adding a space between title and date.

This commit is contained in:
Diego Caro 2013-07-16 22:06:26 -04:00
parent 8a5eb10b21
commit 0ddf75bb57
2 changed files with 2 additions and 2 deletions

View file

@ -7,6 +7,6 @@ description: "An archive of posts sorted by date."
{% for post in site.posts %} {% for post in site.posts %}
<ul class="post-list"> <ul class="post-list">
<li><article itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost"><a href="{{ site.url }}{{ post.url }}">{{ post.title }}<span class="entry-date"><time datetime="{{ post.date | date_to_xmlschema }}" itemprop="datePublished">{{ post.date | date: "%B %d, %Y" }}</time></span></a></article></li> <li><article itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost"><a href="{{ site.url }}{{ post.url }}">{{ post.title }} <span class="entry-date"><time datetime="{{ post.date | date_to_xmlschema }}" itemprop="datePublished">{{ post.date | date: "%B %d, %Y" }}</time></span></a></article></li>
</ul> </ul>
{% endfor %} {% endfor %}

View file

@ -7,6 +7,6 @@ tags: [Jekyll, theme, themes, responsive, blog, minimalism]
{% for post in site.posts limit:10 %} {% for post in site.posts limit:10 %}
<ul class="post-list"> <ul class="post-list">
<li><article itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost"><a href="{{ site.url }}{{ post.url }}">{{ post.title }}<span class="entry-date"><time datetime="{{ post.date | date_to_xmlschema }}" itemprop="datePublished">{{ post.date | date: "%B %d, %Y" }}</time></span></a></article></li> <li><article itemscope itemtype="http://schema.org/BlogPosting" itemprop="blogPost"><a href="{{ site.url }}{{ post.url }}">{{ post.title }} <span class="entry-date"><time datetime="{{ post.date | date_to_xmlschema }}" itemprop="datePublished">{{ post.date | date: "%B %d, %Y" }}</time></span></a></article></li>
</ul> </ul>
{% endfor %} {% endfor %}