Updating index.html links to include baseurl
This commit is contained in:
parent
1011dd7fac
commit
b491bc61ea
|
@ -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>
|
Loading…
Reference in a new issue