docs icon indicating copy to clipboard operation
docs copied to clipboard

How can full content be echoed in a listing context?

Open alanhogan opened this issue 13 years ago • 3 comments

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.

alanhogan avatar Apr 29 '11 18:04 alanhogan

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.

navilan avatar Apr 29 '11 19:04 navilan

See:

hyde/hyde#34

alanhogan avatar May 15 '11 23:05 alanhogan

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.

alanhogan avatar May 16 '11 00:05 alanhogan