Hi,
for the post list of my most recent blog posts, I want to get the "excerpt" of the post.
post_helper.tmpl already contains this code:
%if post.description():
<meta property="og:description"
content="${post.description()[:200]|h}">
%else:
<meta property="og:description"
content="${post.text(strip_html=True)[:200]|h}">
%endif
Anyhow, I want a more sophisticated version:
Anyone already implemented this? Or any other hints how to
implement this?
-- Regards Hartmut Goebel | Hartmut Goebel | h.go...@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |