Updating index.html links to include baseurl

This commit is contained in:
Barry Clark 2014-06-02 21:27:25 -04:00
parent 1011dd7fac
commit b491bc61ea

View file

@ -6,13 +6,13 @@ layout: default
{% for post in site.posts %} {% for post in site.posts %}
<article class="post"> <article class="post">
<h1><a href="{{ post.url }}">{{ post.title }}</a></h1> <h1><a href="{{ site.baseurl }}/{{ post.url }}">{{ post.title }}</a></h1>
<div class="entry"> <div class="entry">
{{ post.content | truncatewords:40}} {{ post.content | truncatewords:40}}
</div> </div>
<a href="{{ post.url }}" class="read-more">Read More</a> <a href="{{ site.baseurl }}/{{ post.url }}" class="read-more">Read More</a>
</article> </article>
{% endfor %} {% endfor %}
</div> </div>