hyde / docs

Hyde documentation
http://hyde.github.io
31 stars 13 forks source link

How can full content be echoed in a listing context? #4

Open alanhogan opened 13 years ago

alanhogan commented 13 years ago

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.

navilan commented 13 years ago

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.

alanhogan commented 13 years ago

See:

hyde/hyde#34

alanhogan commented 13 years ago

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.