Micro.blog hosted blog - List only titled posts on homepage
Here are the steps I used to make my Micro.blog hosted blog list only the titled posts on my homepage and still paginate correctly. Note: This does require editing your blog theme.
1.) The file you need to edit is: layouts/index.html
2.) The line you are replacing should look something like this: {{- $paginator := .Paginate (where .Site.Pages.ByDate.Reverse “Type” “post”) (index .Site.Params “archive-paginate” | default 20) }} (assuming you and/or your theme haven’t already customized this)
3.) You are going to need to replace it with the following:
{{ $pages := where .Site.Pages.ByDate.Reverse "Type" "post" }}
{{ $pages = where $pages "Params.title" "ne" nil }}
{{- $paginator := .Paginate $pages (index .Site.Params "archive-paginate" | default 20) }}
Then save your changes.
Dispatches from the fleet
What passing ships signaled back
Unfurl the messages