Browse Source

Updated URLs for blog posts to include site.baseurl

master
di-dc 3 years ago
parent
commit
30e2962b5b
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      blog.html

+ 2
- 2
blog.html View File

@ -9,8 +9,8 @@ layout: default
{% for post in site.posts %}
<div class="post mb4">
<h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
<p>{{ post.content | strip_html | truncatewords:20 }} <a href="{{ post.url }}">View Post</a></p>
<h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
<p>{{ post.content | strip_html | truncatewords:20 }} <a href="{{ site.baseurl }}{{ post.url }}">View Post</a></p>
</div>
{% endfor %}


Loading…
Cancel
Save