#home page can use dynamic template?

2 messages · Page 1 of 1 (latest)

opaque spear
#

I'm trying to create a home page inside
[slug]/page.js

in my API my home page is available at url with /home, but I want it to be at url /
I also want to remove page.js from the root app, because otherwise I'm just duplicating my code on metadata.

What should I use to make /home inside [slug] just / ?

rancid wedgeBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)