I just followed the theme documentation to import blog posts to our home page, but the most important aspect of our blog—the images—don't transfer. I can see from the documentation that I can transfer each image individually each time I want one to appear, but do I have to do that each time I post an image?
Is there any way to just code the file so images transfer over with the blog posts automatically?
Hello Jon,
If you'd like images to display automatically from the blog post page onto the feed you've created on your homepage, you need to allow HTML to pass through the output.
Right now, the output tag on the partial _blog_latest.html is stripping out html which is preventing the images from displaying: {{ post.blog_post.content | strip_html | truncatewords:50 }}
You want to change it to this: {{ post.blog_post.content | truncatewords:50 }}
Thanks.
Showing 4 reactions
Sign in with
Thanks again for yours!
Just fyi: I spent the past 2 hours trying to get this to work, looking for answers in the theme documentation and question board. When I decided to finally ask the question via email (and then here, as directed) I was docked political capital points. Not that those points matter really, but it seems as though Nation Builder is set up to penalize questions.
I’m curious: If Nation Builder doesn’t want me to ask questions here, what should I do to get answers that I can’t find elsewhere in the community?