broccolini / athena

A simple and elegant theme for Jekyll and GitHub Pages.
http://broccolini.net/athena/
133 stars 57 forks source link

page.next.content doesn't strip markup properly #9

Closed YJPL closed 5 years ago

YJPL commented 5 years ago

Thank you for sharing your work, I use this theme and really appreciate its simplicity and elegance.

For some reason, page.next.content doesn't strip HTML / Markdown markup properly. Links appear as Markdown for instance, and embed code just shows up in the next post excerpt. No idea why this is since page.previous.content doesn't show any code within the excerpt for the same posts.

YJPL commented 5 years ago

Using page.next.excerpt instead of page.next.contentsolves this issue.