post.url is going to be the death of me

This commit is contained in:
Michael Rose 2013-05-24 11:50:20 -04:00
parent ce92a791b3
commit 6b562b882f

View file

@ -28,7 +28,7 @@
<div id="index">
{% for post in site.posts %}
<article>
<h2><a href="{{ post.url }}" rel="bookmark" title="{{ post.title }}">{{ post.title }}</a></h2>
<h2><a href="{{ site.url }}{{ post.url }}" rel="bookmark" title="{{ post.title }}">{{ post.title }}</a></h2>
<p class="byline"><time datetime="{{ post.date | date_to_xmlschema }}" itemprop="datePublished">{{ post.date | date: "%B %d, %Y" }}</time></p>
<p>{% if post.description %}{{ post.description }}{% else %}{{ post.content | strip_html | strip_newlines | truncate: 120 }}{% endif %}</p>
</article>