Skip to content

Dev server cannot serve pagination for pages > 1 #16

@item4

Description

@item4
  • used command
$ lektor server -f webpack
  • content/contents.lr
_model: blog
  • blog.ini
[model]
name = Blog
label = Blog
hidden = yes

[children]
model = blog-post
order_by = -pub_date, title
slug_format = {{ this.pub_date|dateformat('YYYY-MM-dd') }}/{{ this.title }}/

[pagination]
enabled = yes
per_page = 1
  • page 1: /
  • page 2: /page/2/ (403) → /page/2/index.html (work)
  • page 3: /page/3/ (403) → /page/3/index.html (work)
  • ...

page 2, 3, ... link generated by this.pagination.next|url

I think it is bug of test server

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions