Issue with Custom Date Function Not Working in Navigate: Home Command

Description:

The command to return to the homepage doesn’t seem to support custom date functions. Here’s the situation:

  • In my settings page, I have configured:
    indexPage: "[[{{year}}/{{monthNumber}}/{{journalDate}}]]"

  • When I visit my website directly, everything works as expected, displaying something like:
    2024/02/Friday.

  • However, when I use the Navigate: Home command, I get a page with this URL:
    /undefined/undefined/undefined.

  • If I delete the current page using the command, the system automatically creates a new page with the same /undefined/undefined/undefined URL.

  • When I use the default {{today}} function, everything works fine.

Should be fixed with this PR

1 Like