Another issue with Back Button from a blog post located in homepage

Dear webflow community
i would be grateful of your precious help here.

I’m building a branding website and i have made a customs back buttons(indietro, in Italian) and arrows for mobile version to get back to previous page but i have a strange behaviour.

If i open a blog post directly from my homepage and then try to get back, nothing happen. Instead if i, for example, navigate to blog post page and then open an article and click back it works.

To make the back button i used javascript custom string as suggested. You can find the link below. Thanks in advance for your help!

Here is my site Read-Only: [LINK](Webflow - Fabio Fontana branding)
(how to share your site Read-Only link)

Hi Marco, here you go-

Thanks a lot memetican for your help! I really appreciate it! It’s nice to be on Weflow! Thanks!