Browse Source

Fixes #41: Use site.baseurl on blog post titles

Mark Otto 10 năm trước cách đây
mục cha
commit
14abedd943
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      index.html

+ 1 - 1
index.html

@@ -7,7 +7,7 @@ title: Home
   {% for post in paginator.posts %}
   <div class="post">
     <h1 class="post-title">
-      <a href="{{ post.url }}">
+      <a href="{{ site.baseurl }}{{ post.url }}">
         {{ post.title }}
       </a>
     </h1>