Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having a single blog page as index #276

Open
lborruto opened this issue Feb 23, 2023 · 6 comments
Open

Having a single blog page as index #276

lborruto opened this issue Feb 23, 2023 · 6 comments
Labels
enhancement New feature or request need-discussion

Comments

@lborruto
Copy link

lborruto commented Feb 23, 2023

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 lborruto added the enhancement New feature or request label Feb 23, 2023
@chenyangfinance
Copy link

I want to do the same thing

@lborruto
Copy link
Author

Maybe @designedbyclu can help us.

@stale
Copy link

stale bot commented Mar 5, 2023

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 stale bot added the stale Not received responses for too long label Mar 5, 2023
@lborruto
Copy link
Author

lborruto commented Mar 7, 2023

up please!

@stale stale bot removed the stale Not received responses for too long label Mar 7, 2023
@stale
Copy link

stale bot commented Mar 15, 2023

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 stale bot added the stale Not received responses for too long label Mar 15, 2023
@SilentDepth
Copy link
Collaborator

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.

@stale stale bot removed the stale Not received responses for too long label Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request need-discussion
Projects
None yet
Development

No branches or pull requests

4 participants