Skip to content

允许设置归档页是否启用分页#1236

Closed
Tokisaki-Galaxy wants to merge 1 commit into
fluid-dev:developfrom
Tokisaki-Galaxy:disable-archive-paginator
Closed

允许设置归档页是否启用分页#1236
Tokisaki-Galaxy wants to merge 1 commit into
fluid-dev:developfrom
Tokisaki-Galaxy:disable-archive-paginator

Conversation

@Tokisaki-Galaxy

Copy link
Copy Markdown
Contributor

归档页面作为整理所有文章的页面,如果分页可能会导致用户体验大大下降(没法一下看到所有写的文章)。应该允许用户是否单独在这个页面设置是否分页
Add an enable_paginator flag to the archive section of _config.yml (default true) and wrap the paginator partial in layout/_partials/archive-list.ejs with a conditional check on theme.archive.enable_paginator. This allows enabling/disabling the archive paginator via configuration.

Add an enable_paginator flag to the archive section of _config.yml (default true) and wrap the paginator partial in layout/_partials/archive-list.ejs with a conditional check on theme.archive.enable_paginator. This allows enabling/disabling the archive paginator via configuration.
@Tokisaki-Galaxy Tokisaki-Galaxy changed the base branch from master to develop February 15, 2026 12:25
@Tokisaki-Galaxy Tokisaki-Galaxy marked this pull request as draft February 15, 2026 12:27
@Tokisaki-Galaxy Tokisaki-Galaxy deleted the disable-archive-paginator branch February 15, 2026 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant