Pagination component rendered differently in development and production mode #234
Unanswered
hitzhangjie
asked this question in
Support
Replies: 2 comments 2 replies
-
The ..
safelist: [
'lazyloaded',
'table',
'thead',
'tbody',
'tr',
'th',
'td',
'pagination',
'page-item',
'page-link',
.. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Nice to see how you customized Doks to make it yours! Are you OK if I added your blog to the Doks showcase? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, thanks to doks, I start my blog: https://www.hitzhangjie.pro/.
I do some customizations based on doks, please see the blogs here: https://www.hitzhangjie.pro/blog.
I changed the
layouts/blog/list.html
from a card layout to an ordinary table layout, actually I add a parameter to control this.And at the bottom of the blog list, I added a pagination component, please see: https://github.com/hitzhangjie/myspace/blob/master/layouts/blog/list.html
My question is the pagination component rendered as expected by
hugo serve
, but when I publish the content to github (afterhugo
ornpm run build
), it looks weired.This is the expected one:
This one looks weired:
I think the generated content by hugo has something different, I also run
python -m SimpleHTTPServer
in the generated content directory, it behaves the same (the component rendered weired).I didn't see any error message in the chrome debug session.
Could you help me to look at it? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions