Using a dictionary library for i18n, also shows how to use i18n with navigation plugin.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
layout: layouts/home.njk
|
||||
eleventyNavigation:
|
||||
key: Home
|
||||
key: i18n.nav.home
|
||||
order: 1
|
||||
---
|
||||
{% set maxPosts = collections.posts.length | min(3) %}
|
||||
|
||||
Reference in New Issue
Block a user