nobelium icon indicating copy to clipboard operation
nobelium copied to clipboard

Having a single blog page as index

Open lborruto opened this issue 2 years ago • 6 comments

Hey, is it possible to have a page as index of the website instead of having all blog post listed? I tried to mix index.js and [slug].js but it's not working so far..

lborruto avatar Feb 23 '23 18:02 lborruto

I want to do the same thing

chenyangfinance avatar Feb 24 '23 20:02 chenyangfinance

Maybe @designedbyclu can help us.

lborruto avatar Feb 26 '23 18:02 lborruto

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] avatar Mar 05 '23 23:03 stale[bot]

up please!

lborruto avatar Mar 07 '23 19:03 lborruto

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] avatar Mar 15 '23 03:03 stale[bot]

There is a possible issue with URL conflicts. If the index is for a special page, then what URL should be used for the post list? And that could conflict with a normal post slug since all post URLs are root-based. We already have some special URLS though (like /about).

I’d like to prefix post slugs, e.g. /post/[slug], but that would be a breaking change.

SilentDepth avatar Mar 16 '23 14:03 SilentDepth