Closed blattms closed 8 years ago
The problem that I experienced looks similar to the one described in #212. Therefore I guess merging this PR will close #212
Hey blattms. I noticed you change the block name from "body to "postbody", any reason for this? Can I change it back to post to keep consistency with documentation?
Indeed, the change body->postbody is totally unrelated. I pushed a commit that reverts this change.
If you prefer I can squash the two commit into one.
@blattms I noticed in this last commit that you are no longer using final_url and reverted to old behavior. Can you fix this up so I can merge it with your new behavior?
That change was never part of this PR but of #229. Both of them were based on master as of February 13.
Anyway, I will rebase this PR onto the current master and squash the two commits into one. Just wait a second.
Done with rebase and fixup.
Tests are working locally but travis is failing for some reason. Im gonna look into this first before merging the PR.
BTW this seems like a system problem (python path?)
Yes. I'm gonna merge anyways since tests pass.
Previously, I got weired errors when using e.g.
{% url path %}
in blog posts:It turns out that
getNode
needs the full site context to work probably. Therefore this commit creates the site context and adds it to all postContexts. Now I can use{% url path %}
and the likes in my blog posts.