Adding a blog image to the homepage

Hi,

I’ve created a custom app to allow us to customise the website templates.

Creating {custom_app}/templates/home.html works perfectly and the content is displayed on the homepage now. I’ve created a loop to pull in the blog posts. However the default home.py only pulls in the title, blogger, short description and link.

I’ve added a home.py to the custom app and added the extra fields to the query

context.blogs = frappe.get_all('Blog Post',
	fields=['title', 'blogger', 'blog_intro', 'route', 'meta_image', 'published_on'],
	filters={
		'published': 1
	},
	order_by='published_on desc',
	limit=3
)

However this doesn’t see to get loaded - is there something else I’m missing?

Thanks!

Kieran