Skip to content

Commit

Permalink
Use .RelPermalink in post list (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
erquhart authored Jul 16, 2019
1 parent 49f94a5 commit 662f29f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/layouts/_default/li.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a href="{{ .Permalink }}" class="no-underline pa3 bg-grey-1 br1 mb2 db raise w-100">
<a href="{{ .RelPermalink }}" class="no-underline pa3 bg-grey-1 br1 mb2 db raise w-100">
<h2 class="f3 b lh-title mb1 primary">{{ .Title }}</h2>
<p class="mid-gray lh-title mb2">{{ .Date.Format "Mon, Jan 2, 2006" }}</p>
<p class="mb0">{{ .Description }}</p>
Expand Down

0 comments on commit 662f29f

Please sign in to comment.