Open FFY00 opened 4 years ago
I second this I'm looking into how to do the same thing
Hey,
You can change that with a new _index.md
file in the contents directory and add a {{.Content}}
tag in the index.html file in the layouts directory.
Also remove these lines from the index.html file. These lines are for showing the list of blog posts. You can add another file with these contents and you could achieve the blog list https://github.com/athul/archie/blob/ca5424f0632b42edf30865ad6387ababf869c785/layouts/index.html#L14-L30
Super! I got it now. Thanks a lot for the pointers
Apologies for diging up this old discussion, but I have run into a problem when deploying to Netlify. Basically, everything works fine when I build locally. However, when I deploy, the first step (removing the lines that call the blog posts) does work. However, the material I added to _index.md
doesn't take its place.
So the local build displays the new content, but the Netlify version just shows an empty space on the homepage.
Sorry if this is badly expressed. I'm learning things as I go along.
EDIT: this mysteriously (to me) just started working after I changed my github username.
Hello @uncouthregions, @bastienboutonnet and @athul After taking a look at this thread I still don't manage to change the default page. I want to change the current index page in order to show the about page.
I have removed the lines from archie/layouts/index.html but I don't get how to transform the _index.md
file.
Hello @uncouthregions, @bastienboutonnet and @athul After taking a look at this thread I still don't manage to change the default page. I want to change the current index page in order to show the about page.
I have removed the lines from archie/layouts/index.html but I don't get how to transform the
_index.md
file.
Fixed :)
Hi, I would like to change the index to the about page. Would this be possible? If so, how can I do it?