Open pournasserian opened 1 month ago
@pournasserian to do this task, I need to have access to current route and it's parents data in layout as Scriban variables.
[
{ Href: "string", Title: "string", Active: true },
{ Href: "string", Title: "string", Active: true },
...
]
for above example this list should be something similar to:
[
{ Href: "/", Title: "Home", Active: true },
{ Href: "/users", Title: "Users", Active: true },
{ Href: "/users", Title: "List", Active: false },
]
Similar to Flowbite here: https://flowbite.com/application-ui/preview/