Hi, I’ve been playing around with implementing a custom home page, by following this help topic, but there’s something I’m not understanding: how can I link from there to my normal page of posts?
Say I make a welcome page, but I want people to be able to click through to my pages of blog posts; if I include a link to domain.name/page/2 it links to the second page of my blog, but domain.name/page/1 seems to send me back to the custom home page, not the first page of blogposts as intended.
(All help appreciated. I’m prepared to delete this topic in a heartbeat if I’m missing something super obvious!)
Yes, I’m finding this too - the custom index.html Is overriding domain.name/page/1.
I cannot see a way to access my first page of posts - the Previous page link from my second page also (obviously) just takes me back to the custom home page.
have you tried /posts/ ? My understanding is this will render the layouts/_default/li.html layout for any content of type “post” which all content in Micro.blog is, technically. You might not have that in your theme, as I don’t think Micro.blog provides that template as a default in most of its themes, but you can replace what was on the index page there and I think it’ll work.
I did actually attempt to make a short intro of text that would only appear on the front page, above my posts. As I think this would be a suitable alternative for me.
I was able to follow these instructions but it garbled my home page in weird ways I didn’t expect.
I don’t know much about this kind of stuff so I’m a bit lost.
Ah I see. Micro.blog does not put posts in content/posts/ but just uses the type in the front matter. I think I know how to help you do this but it’s a bit complex. You’ll have to create a new layout for a new type (like say, blog) then create a blank page with that type.
Thank you for helping. I’m sorry, but I’m a bit out of my depth with troubleshooting. Maybe I have misunderstood your earlier pointers to set it all up?