Post¶
- class ablog.blog.Post(blog, docname, info)¶
 Bases:
ablog.blog.BlogPageMixinHandle post metadata.
Attributes Summary
Next published post in chronological order.
Previous published post in chronological order.
Methods Summary
to_html(pagename[, fulltext, drop_h1])Return excerpt or fulltext as HTML after resolving references with respect to pagename.
Attributes Documentation
- next¶
 Next published post in chronological order.
- prev¶
 Previous published post in chronological order.
Methods Documentation
- to_html(pagename, fulltext=False, drop_h1=True)¶
 Return excerpt or fulltext as HTML after resolving references with respect to pagename.
By default, first <h1> tag is dropped from the output. More than one can be dropped by setting drop_h1 to the desired number of tags to be dropped.