I really like the blank page plug-in but I’d like my blog to still be visible as well, on an alternate page. Tonight I tested making pages called “Blog” or “Posts”, hoping maybe they’d automatically populate like “Archives” does, but it didn’t work. If I install that plug-in the posts seem to just disappear. Is there any way to have the modified main page and have a menu item for “Blog” that goes to posts?
Can you link to the plug in you mean? I don’t see that plug in searching for it to see what it does to understand your question better.
You’ll want to make a custom template called layouts/blog/list.html
. Then you can make a page in your custom theme by making a file named content/blog.md
For that file, just put in:
---
title: Archive
description: Blog posts
type: blog
---
I am pretty sure if the list.html
template is blank, it’ll just fall back and use layouts/_default/list.html
which is the same as your archive page. If not, you may want to paste that template into the layouts/blog/list.html
template.
Lastly, on your main page, you can now link to /blog
and that will use the template above.
I had the same issue using the Custom Home Page plug in. I ended up creating category pages for long and short posts and adding them to the nav. Not exactly what you were asking for, but I wrote up my solution and figured I share if it’s helpful. Bob Wertz - Easy Category Pages in Navigation on Micro.Blog
Thanks so much @jsonbecker for the reply! I haven’t tried it yet, life has been busy and I haven’t sat down to play around, but I so appreciate the response.
Thanks also @bobwertz for the categories-nav idea, I like that just as a way to separate longer and shorter posts, I might try that!