How can I automatically update my blog hero and title with the most recent blog post?

How can I automatically update my blog hero and title with the most recent blog post?

I have a hero section on my blog template and I would like it to automatically update with information from the most recent blog post. Can someone offer instructions on how to do this? Thank you.

{% comment %}
Automatically updates the blog hero section with the most recent blog post.
{% endcomment %}

{% assign latest_post = site.posts | first %}

{{ latest_post.title }}

{{ latest_post.title }}
{{ latest_post.excerpt }}
Read More

Thank you! Where do I put this?

@paperandwax Where you need and it is a samle code to be understood

If someone can do this please reach out with a quote. Thanks.