relative_path filter

This commit is contained in:
2022-12-15 14:39:17 -05:00
parent aa0a8e624b
commit 2500f1a626
9 changed files with 87 additions and 29 deletions

View File

@ -1,4 +1,4 @@
<article class="h-entry">
<time class="dt-published" datetime="{{ post.date | datetime | date_to_xmlschema }}" pubdate>{{ post.date | date: "%B %d" }}</time>
<a href="{{ post.url }}" class="u-url p-name">{{post.title}}</a>
<a href="{{ post.url | relative_path }}" class="u-url p-name">{{post.title}}</a>
</article>