Skip to content

Commit f9ea4c2

Browse files
authored
fix url when hosted in a github project project
I needed this for https://github.com/tyrcho/blog
1 parent 4e96bbf commit f9ea4c2

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)