From 326ff7e33a0a8056b95dabd2dbdf08e9ec7901d5 Mon Sep 17 00:00:00 2001 From: Oscar Otero Date: Sat, 29 Jun 2024 00:25:02 +0200 Subject: [PATCH] fixed nav plugin --- CHANGELOG.md | 1 + plugins/nav.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d87dcd77..549405b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ Go to the `v1` branch to see the changelog of Lume 1. - New option `caseSensitiveUrls` to allow to export two urls with the same name but different cases [#625]. ### Fixed +- Nav plugin: the `order` option is not applied. - Updated dependencies: `std`. ## [2.2.2] - 2024-06-21 diff --git a/plugins/nav.ts b/plugins/nav.ts index be078df4..aa9e8a35 100644 --- a/plugins/nav.ts +++ b/plugins/nav.ts @@ -110,7 +110,7 @@ export class Nav { } } - return convert(nav); + return convert(nav, undefined, sort); } }