Skip to content

Commit 30e2962

Browse files
committedDec 21, 2018
Updated URLs for blog posts to include site.baseurl
1 parent 5cd4510 commit 30e2962

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎blog.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ <h2>Posts</h2>
99

1010
{% for post in site.posts %}
1111
<div class="post mb4">
12-
<h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
13-
<p>{{ post.content | strip_html | truncatewords:20 }} <a href="{{ post.url }}">View Post</a></p>
12+
<h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
13+
<p>{{ post.content | strip_html | truncatewords:20 }} <a href="{{ site.baseurl }}{{ post.url }}">View Post</a></p>
1414
</div>
1515
{% endfor %}
1616

0 commit comments

Comments
 (0)