Skip to content

Commit 5996b37

Browse files
authored
Merge pull request Gaohaoyang#56 from tyrcho/patch-1
fix post url in archive page when hosted in a github project
2 parents 45f1593 + f9ea4c2 commit 5996b37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

page/0archives.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ <h2 id="y{{ post.date | date: '%Y' }}">{{ post.date | date: '%Y' }}</h2>
3030
<time>
3131
{{ post.date | date:"%F" }} {{ post.date | date: "%a" }}.
3232
</time>
33-
<a class="title" href="{{ post.url }}">{{ post.title }}</a>
33+
<a class="title" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
3434

3535
{% include category.html %}
3636
{% include tag.html %}

0 commit comments

Comments
 (0)