Not all posts showing

Hi All. I’m fairly new to MB so hopefully this isn’t too newbie. Thanks in advance for understanding.

For some reason not all of my posts are showing on a page. Here’s the example: Anchored Thought w/ Dr. CA Hixson · MissionalAI 2025

There should be a few more posts at the bottom of this page. I checked that they were categorized and they are. I unchecked the category and rechecked it. Then updated the post.

The homepage also limits the number of post but I assume this is to improve loading time.

I looked at the Design settings but couldn’t see where this might be controlled.

Theme?

Thanks for any help you can provide.

Just found and tried the paginate plugin. It worked for the homepage but not the category page I linked to before.

Hi and welcome to Micro.blog! :wave:

You’re right, it’s up to theme developers to add support for pagination and settings. You could try reaching out to the developer, or if you’re comfortable with HTML and Hugo templates, you can add support yourself using a custom theme.

Thanks @sod.

In case this helps anyone else. I had to

  1. Go into the theme editor
  2. Open layouts/_default/list.html
  3. Change the number that’s in ** ** below.
{{ $paginator := .Paginate (where .Data.Pages.ByDate.Reverse "Type" "post") (index .Site.Params "archive-paginate" | default **25**) }}
{{ range $paginator.Pages  }}

I set it to a number that I’ll likely never achieve in a single category.

You can also add

<div class = "paginator">
  {{ if .Paginator.HasPrev }}
    <a class = "previous" href="{{ .Paginator.Prev.URL }}">←Newer Posts</a>
  {{ end }}
  {{ if .Paginator.HasNext }}
    <a class="next" href="{{ .Paginator.Next.URL }}">Older Posts→</a>
  {{ end }}
</div>

to get the Next Page/Previous page links rather than having a HUGE number of posts on one page.

1 Like

Thanks @jsonbecker … much cleaner with that added!!

I’m curious what theme you’re using. I thought all of them supported pagination. It’d be worth PRing the theme to have support.