Index Teasers with Thumbnails

7 views
Skip to first unread message

Thomas Rafael Czank

unread,
Apr 28, 2021, 12:53:45 AMApr 28
to nikola-discuss

Dear Nikolaers,

I'm using Nikola for a single page blog. I was able to use teasers for all posts but I also wanted the teasers to contain a thumbnail. Maybe this is theme dependent. I've tried it with zen and bootblog4. Let me know if you need any further info or if you have any suggestions.

Cheers,

Thomas

Chris Warrick

unread,
Apr 28, 2021, 11:03:03 AMApr 28
to Nikola—Discuss
If you put an image in the post content before the TEASER_END tag, it
should be also visible on pages which use teasers. If you want a
prettier/easier solution, you can use previewimage and customize your
templates to show it for your posts (by default, previewimage isn't
visible in posts; it can appear in bootblog4 featured boxes or in
og:image meta tags.)

--
Chris Warrick <https://chriswarrick.com/>
PGP: 5EAAEA16

Thomas Rafael Czank

unread,
Apr 30, 2021, 9:42:02 AMApr 30
to nikola-...@googlegroups.com
Thanks Chris, it worked!

--
You received this message because you are subscribed to a topic in the Google Groups "nikola-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nikola-discuss/iY2tmv-cC2U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to nikola-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nikola-discuss/CAMw%2Bj7JnQRs3j%3DRt2O4LB6sKDhx8YcKaqSzTFULj_Z-jHQE5qg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages