Skip to content

Commit

Permalink
Fix See all posts error
Browse files Browse the repository at this point in the history
Add baseURL variable to link of see all posts button.
  • Loading branch information
Rayjun0525 committed May 5, 2023
1 parent b1bb3e6 commit 3ac7e5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h3 class="posts-item-note" aria-label="Recent Posts">Recent Posts</h3>
{{ end }}
{{ if gt (len $posts) 5 }}
<p>
<a href="/posts/">See all posts</a>
<a href="{{ .Site.Home.Permalink }}/posts/">See all posts</a>
</p>
{{ end }}
</main>
Expand Down

0 comments on commit 3ac7e5c

Please sign in to comment.