Skip to content

Commit 7c65115

Browse files
authored
post.permalink > post.url
According to #38
1 parent bf2f4b0 commit 7c65115

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: _layouts/home.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
<!-- list of posts where category is "featured" -->
120120
<ul class="list-unstyled">
121121
{%- for post in site.categories.featured limit:3 -%}
122-
<li class="mt-1"> <a href="{{ post.permalink | permalink }}"> {{ post.title | escape }} </a></li>
122+
<li class="mt-1"> <a href="{{ post.url | permalink }}"> {{ post.title | escape }} </a></li>
123123
{%- endfor -%}
124124
</ul>
125125
</div>
@@ -158,4 +158,4 @@
158158
CONTRIBUTE</a></small></div>
159159
</div>
160160
</div>
161-
</section>
161+
</section>

0 commit comments

Comments
 (0)