Jekyll default page

How do I change the default start page? Currently index.html is always the post index.

I like to show the content of my current / about page in index.html and as if the link in / articles was linking to the post index.

Is copying pasting /about/index.html content to /index.html the only solution?

+3


source to share


1 answer


This is not a Jekyll problem, but rather an information architecture.

Your hierachy page looks like this:

|-index.html
|-articles.html
|-...

      



Just add the content you want in index.html

or index.md

if you want to write it down in the markdown method.

Create a page article.html

or md

and just copy the actual index.html content into it.

Finally, if you want to go to the articles page in /articles/

, just add permalink: articles/

in the front question. Otherwise, the default will be reached articles.html

.

+6


source







All Articles