Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

Number of digits in folder numeric prefix?

admin

Started by Ivan Voras 6 years ago · 2 replies · 831 views
6 years ago

I've imported my existing blog content into Grav, and there are more than 100 posts already in there. The old blog posts were imported with numeric prefixes which are 3 digits in length.

For my new posts, Grav uses 2-digit prefixes, which clashes with the ordering of the posts. I.e. I have folders named:

  • 009-something
  • 01.something-new
  • 010-something-old

where the middle one in this example was created by Grav.

Is there a way I can tell Grav how many digits to use for the prefix?

5 years ago

Interesting question. and what happens anyway after 99 pages, what is the automatic numbering?

5 years ago

My assumption would be, that numbered pages should be just for specific cases. If you have so many pages under a single page, they shouldn't be numbered, but rather ordered by date or name. Numbered pages are specifically for custom order IMO and I can't imagine a case where you'd want to have custom order for 100 or more pages

Suggested topics

Topic Participants Replies Views Activity
Support · by BenLaKnet, 5 days ago
1 120 2 days ago
Support · by BenLaKnet, 1 week ago
5 194 2 days ago
Support · by kskt, 2 days ago
0 44 2 days ago
Support · by David Meissner, 3 days ago
0 43 3 days ago
Support · by David Meissner, 3 days ago
3 92 3 days ago