docs
docs copied to clipboard
How can full content be echoed in a listing context?
In the default distribution, listing.j2
uses, eventually, post.excerpt
to echo a post excerpt; however it is not obvious how to echo the full post content instead of an excerpt, and the obvious attempts like post.content
or a post
block fail.
See my comment on Issue #3.
The best way to echo the entire content is to mark it for use. But the entire html
of a post is available for use. If you have pyquery installed, then you also get to refer to the html using jquery syntax. Will gist an example for this tomorrow.
See:
hyde/hyde#34
I closed this but am re-opening as it is really your discretion whether this should be considered resolved, as the relevant documentation is not yet part of hyde/docs itself.