Use eleventy's url function to apply pathPrefix.
All checks were successful
Build Eleventy Forgero / build (24.x) (push) Successful in 37s
All checks were successful
Build Eleventy Forgero / build (24.x) (push) Successful in 37s
This commit is contained in:
parent
ec25c348e8
commit
6b8635defe
11 changed files with 172 additions and 102 deletions
2
blog.njk
2
blog.njk
|
|
@ -15,7 +15,7 @@ title: Adrian Victor:Blog
|
|||
{% if post.data.langKey == langKey %}
|
||||
<li>
|
||||
<p>
|
||||
<a href="{{ post.url }}">{{ post.data.postTitle }}</a><br>
|
||||
<a href="{{ post.url | url }}">{{ post.data.postTitle }}</a><br>
|
||||
<b>{{ post.data.date | postDate }}</b>{% if post.data.lastModified | postDate !== post.data.date | postDate %} ({{ i18n[langKey].lastEditedIn }} {{ post.data.lastModified | postDate}}){% endif %}
|
||||
</p>
|
||||
</li>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue