-
Notifications
You must be signed in to change notification settings - Fork 208
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
Properly render post content with Jekyll #73
Conversation
Travis failure is due to reliance on the |
Since there are merge conflicts between the two PRs anyway, I just went ahead and added the |
Thanks, @pathawks! Please rebase when you get a second; I merged your other PR. |
Thanks @parkr! Rebased 👍 |
feed = PageWithoutAFile.new(@site, File.dirname(__FILE__), "", path) | ||
feed.content = File.read(source_path).gsub(/\s*\n\s*/, "\n").gsub(/\s+{%/, "{%").gsub(/\s+</,"<") | ||
feed.data["layout"] = nil | ||
feed.data['sitemap'] = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you mind unifying the string literals? Probably go with double quotes as they're used above.
One style question, then good to merge. 👍 |
Thanks for catching that. |
v0.4.0 changelog lists this as fixed, but I still see all the liquid tags inside |
@arkfps Are you using the latest version of the plugin? Is your site's source public? |
Using
|
This is not enough for me to reproduce your error. Can you create a public repo with a bare-bones Jekyll site that exhibits this error? You should also probably open this as a new issue, since this PR has already been merged. |
The real culprit is Jekyll 3.x incremental build feature. The first build works fine, while subsequent incremental builds are not. |
That is... bizarre. Please do open a new issue; this needs a proper fix. |
Done. #78 |
Taking a shot at rendering the sitemap with Jekyll instead of writing it ourself. This means that posts will be properly rendered, instead of having us render them with the Markdown filter and hoping for the best.
This will conflict with #67 in two ways:
strip
filter, which is unavailable in Jekyll 2, but is added in Replace newlines with space #67My goal was just to make things work while changing as little as possible, so please let me know if you see anything goofy.