blogotext
blogotext copied to clipboard
Excerpt of Blogposts
Hi again,
imho, a good feature would be to have excerpt of blogposts. just display the first 50 letters with a "read more" button.
Hi,
It can be done with an addon (to do).
Or, you can play with {article_chapo}
( = the "abstract" in edit page).
For this solution, you will need to do some things :
- modify in your template
article.html
and change{article_contenu}
by{article_chapo}
- (optional) modify in your template
post.html
and change{article_contenu}
by{article_chapo}{article_contenu}
Please note :
- the fact that abstract can be used by the HTML meta description
- we don't recommand using BBcode, HTML in "abstract"
Right now it's the only solution (from what I see). If you need a plugin, I can make a quick one in the next days.
i think an addon for everyone would be better. no hurry on that, using {article_chapo}
is double work, imho, but a good workaround for that so far (maybe until v4)
I wrote a small addon to do so. It will show excerpt only on main page of the blog. Options are :
- Label for the link "read more"
- Length of the excerpt.
See here : https://github.com/BlogoText/blogotext-addons/pull/42
Did anyone tried the addon ? any comments or bugs?
Not yet. Real Life is strong atm but i will, maybe, next week
Am 14.01.2018 11:33 vorm. schrieb "Thuban" [email protected]:
Did anyone tried the addon ? any comments or bugs?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BlogoText/blogotext/issues/314#issuecomment-357502343, or mute the thread https://github.com/notifications/unsubscribe-auth/ABoWCN6PEg6f92BJ03FiaRi2oq4IQm2Lks5tKdfsgaJpZM4PBJNv .
Nop, sorry. I've got some free time in the next few days, will focus on BT...