mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-18 05:41:31 +00:00
Unify local links to posts (#65).
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
{% assign post = site.posts | where: "url", post_url | first %}
|
||||
|
||||
{% if post %}
|
||||
{% assign url = post.url | prepend: site.baseurl %}
|
||||
{% assign url = post.url | relative_url %}
|
||||
|
||||
<li><a href="{{ url }}">{{ post.title }}</a></li>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user