Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customize the archive page for blog Plugin,but failed with pagination #6336

Closed
4 tasks done
shenweiyan opened this issue Nov 15, 2023 · 2 comments
Closed
4 tasks done
Labels
bug Issue reports a bug resolved Issue is resolved, yet unreleased if open

Comments

@shenweiyan
Copy link

Context

I want to customize the archive page of the mkdocs-material blog plugin, as shown in the screenshot below.

Bug description

Thanks to squidfunk for the assistance provided #6324. I've utilized a hook, but it seems doesn't work for pages beyond the second page if there is pagination.

Related links

Repo: https://github.com/shenweiyan/mkdocs-blog
Link: https://shenweiyan.github.io/mkdocs-blog/blog/archive/2023/

Reproduction

mkdocs-blog.zip

Steps to reproduce

  1. pip3 install -r requirements.txt
  2. mkdocs serve

Browser

Chrome

Before submitting

@squidfunk squidfunk added the needs investigation Issue must be investigated by the maintainers label Nov 15, 2023
@squidfunk
Copy link
Owner

Thanks for reporting. Fixed in 97c7b54.

Next time, please create a true minimal reproduction as opposed to just zipping up your repository. I could not manage to get your example to run, which cost me significantly more time to fix the issue than would be necessary.

Thank you very much for your cooperation.

@squidfunk squidfunk added bug Issue reports a bug resolved Issue is resolved, yet unreleased if open and removed needs investigation Issue must be investigated by the maintainers labels Nov 17, 2023
@squidfunk
Copy link
Owner

Released as part of 9.4.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue reports a bug resolved Issue is resolved, yet unreleased if open
Projects
None yet
Development

No branches or pull requests

2 participants