Updating index.html links to include baseurl

kramdown-and-rouge
Barry Clark 2014-06-02 21:27:25 -04:00
parent 1011dd7fac
commit b491bc61ea
1 changed files with 2 additions and 2 deletions

View File

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