List not displaying all pages

My list page is not displaying all the relevant entries

I have about 110 entries numbered sequentially in the format “”

So when I run hugo server -D the list orders them sequentially up to about 01.047 then skips to 01.101 and 01.103.
Screen Shot 2022-05-24 at 8.12.02 AM

Repository is here: GitHub - tknx/ttk

List code is as follows:

                {{ range .Pages.ByTitle }}
                <li><a href="{{ .RelPermalink }}">{{ .Title }}</a>{{ if .Summary }}<br />{{ .Summary }}{{ end }}</li>
                {{ end }}

I can reproduce the problem when when I run hugo server because many of the pages have draft: true in front matter.

But I cannot reproduce the problem when I run hugo server -D.

Hmm - seems to have just sorted itself when I restarted the hugo server a couple of times. Hiccup I guess.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.