-
Notifications
You must be signed in to change notification settings - Fork 17
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
[FEATURE] Support vanilla mkdocs #52
Comments
Here's how the pagination works: mkdocs-blogging-plugin/mkdocs_blogging_plugin/templates/pagination.js Lines 32 to 48 in 6e8c3ca
Each time you press the paginator, the elements for "current page" remove their |
I'm saying that if I have 12 posts and I set |
The code above shows exactly how these |
IDK what your code does nor I have to look or touch it, I'm here to report an issue I have by using your plugin. |
I am showing you this code because you have used your own theme, which might have significantly different css styles that might conflict with my implementation. So I am actually providing you with the possible conflicting stuff from my code. If I can't have more context, I am afraid that I cannot fix it. |
Again, the display of the posts is NOT COMPLETELY CONTROLLED BY THE PLUGIN CODE, it might also be affected by the css classes and styles. |
There's actually a problem with the post display but in a different way. The paging won't work on the first page but is fine on others regardless of the Thanks for spotting the problem and sorry for my previous responses. I originally thought it was a problem caused by your theme because of your description, but it turns out it's a universal bug. I will drop a release soon. |
here each one of 3 pages show all 12 posts
no problem. I'm not using "blog-hidden" css class. |
just tried the new release and nothing changed here, same issue in all pages. |
Could you please upload an example to reproduce the issue? |
sure, give me some time to setup a temporary github repository, I'll let you know when done |
here the code: https://github.com/redtide/mkdocs-test |
Here's the problem: The plugin is adapted for mkdocs-material, which wraps all customizable elements with the The latest commit solves this issue. |
Thank you very much! You were right about the CSS in the end, just the culprit was hidden somewhere else. It's nice to have it working without the material theme dependency, so now another thing solved for me to port my Jekyll projects to MKDocs. |
Plugin version
v2.2.5
Is your feature request related to a problem? (optional)
I'm not using mkdocs-material because it doesn't fulfill my requirements, so I did my own theme.
Your plugin seems to work, except for the
size
setting.If I leave the default paging, it show all posts (say 12) in one page with 3 clickable pages, which does nothing else than add a blog-pN on the url address.
Disabling the paging it shows the correct number of posts, but without paging can't see the others, like it is working on the opposite way.
What is your suggestion?
IDK if this is a bug or just because it's not running with mkdocs-material, I would like it could work as expected also on mkdocs.
Any other idea?
No response
Additional context (optional)
No response
The text was updated successfully, but these errors were encountered: