Customize html layout

Hi,

how to modify the layout of Blog Post in a secure way?
so when there’s an update, the changes won’t be gone.

I’m talking about the template in here:
apps/frappe/frappe/website/doctype/blog_post/templates/blog_post.html