# Blog Link

**URL:** <https://community.hubspot.com/t/blog-link/8033>\
**Category:** CMS Development\
**Created:** [March 5, 2018, 5:43pm UTC](https://community.hubspot.com/t/blog-link/8033 "2018-03-05T17:43:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kwaltrip](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kwaltrip/32/98997_2.png) [@Kwaltrip](https://community.hubspot.com/u/Kwaltrip)\
**Post date:** [March 5, 2018, 5:43pm UTC](https://community.hubspot.com/t/blog-link/8033/1 "2018-03-05T17:43:20Z")

</div>

Hi,

Is there a way to have a homepage link to a blog that auto updates the link to the most recent blog post?

---

<div class="post-metadata">

**Author:** ![jonlcrow](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jonlcrow/32/102945_2.png) [@jonlcrow](https://community.hubspot.com/u/jonlcrow)\
**Post date:** [March 5, 2018, 7:32pm UTC](https://community.hubspot.com/t/blog-link/8033/2 "2018-03-05T19:32:42Z")

</div>

You might try something like:

` {% set rec_posts = blog_recent_posts('default', 1) %}{% for rec_post in rec_posts %} <div class="post-title"><a href="{{ content.absolute.url }}">{{ content.name }}</a></div>{% endfor %}`

Where ‘default’ is the blog you wish to pull from. You can find the ID of the blog when you are in that blog’s dashboard in the URL. For example…

[https://app.hubspot.com/blog/456789/blogs/5624864654/manage/posts/all](https://app.hubspot.com/blog/456789/blogs/5624864654/manage/posts/all)

Where 456789 is your HubID 5624864654 would be the blog ID you would use to replace default. You can find out more about HubL coding and variables [here](https://designers.hubspot.com/docs/hubl/hubl-supported-variables).

Cheers,

Jonathan

---

<div class="post-metadata">

**Author:** ![Phil\_Vallender](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/phil_vallender/32/48924_2.png) [@Phil\_Vallender](https://community.hubspot.com/u/Phil_Vallender)\
**Post date:** [March 6, 2018, 1:28pm UTC](https://community.hubspot.com/t/blog-link/8033/3 "2018-03-06T13:28:02Z")

</div>

Hi @Kwaltrip

HubSpot blogs have an RSS feed that a developer can probably embed in your homepage for you.

There is also an RSS module in HubSpot’s standard modules. More info here: [RSS listing](https://knowledge.hubspot.com/design-manager-user-guide-v2/hubspots-standard-modules-explained#rss-listing)

Hope this helps.
