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

Content overwriting though the permalinks are set #229

Open
bastiweb opened this issue Jan 13, 2022 · 1 comment
Open

Content overwriting though the permalinks are set #229

bastiweb opened this issue Jan 13, 2022 · 1 comment

Comments

@bastiweb
Copy link

Hey,
I have the following problem:
The content of one page overwrites the content of another

See here:
https://staging.veilofsound.com/reviews/pagination.html
https://staging.veilofsound.com/interviews/pagination.html

Header reviews:

  permalink: /reviews
  pagination: 
    enabled: true
    tag: review
    permalink: 'page:num/reviews.html'

Header interviews:

permalink: /interviews/
  pagination: 
    enabled: true
    tag: interview
    permalink: 'page:num/interviews.html'

_config.yml:

pagination:
  enabled: true
  per_page: 25
  indexpage: 'pagination'
  sort_reverse: true

Did I do something wrong in my configuration?

I think I have followed the steps described under https://github.com/sverrirs/jekyll-paginate-v2/blob/master/README-GENERATOR.md#my-pagination-pages-are-overwriting-each-others-pages

@FabrizioMusacchio
Copy link

FabrizioMusacchio commented Jun 28, 2024

I have the same problem. I noticed that when using {{content}} in the layout file, the content of the alphabetically first pagination index file is used for all other subsequent pagination index files. Substituting {{content}} by {{ page.content | markdownify }} solves the problem. However, any liquid command in the content of page.content gets rendered as raw text when using {{ page.content | markdownify }}.

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

No branches or pull requests

2 participants