CMS Development

MKottise
投稿者

Code line to display when the page was updated

解決

My client requested a solution that is technically out of my reach, so I need your help.

 

Basically, my client has a hub page, it lists a bunch of landing pages, each of them features an article.

 

Now client wants that in this hub page, there is a date displayed that auto-updates every time that any of those landing pages are updated in Hubspot.

 

I hope I am explaining this correctly. Does any one of you know, if this is remotely possible? I know it's possible with blogs, but is it also possible in case of landing pages?

 

Also if this is not the right place to ask, please let me know where to go or with whom should I talk to.

 

Thanks in advance!

0 いいね!
1件の承認済みベストアンサー
JMair
解決策
参加者 | Gold Partner
参加者 | Gold Partner

Code line to display when the page was updated

解決

You can use the "content.updated" HUBL variable to show the UNIX Timestamp of the last of an asset (Landingpage, Webpage etc.)

 

For HUBL this could look like: 

 

{{ to_local_time(content.updated) }}

 

 

For reference:

https://developers.hubspot.com/docs/cms/hubl/variables

https://developers.hubspot.com/docs/cms/hubl/filters

元の投稿で解決策を見る

2件の返信
JMair
解決策
参加者 | Gold Partner
参加者 | Gold Partner

Code line to display when the page was updated

解決

You can use the "content.updated" HUBL variable to show the UNIX Timestamp of the last of an asset (Landingpage, Webpage etc.)

 

For HUBL this could look like: 

 

{{ to_local_time(content.updated) }}

 

 

For reference:

https://developers.hubspot.com/docs/cms/hubl/variables

https://developers.hubspot.com/docs/cms/hubl/filters

MKottise
投稿者

Code line to display when the page was updated

解決

Thank you, this helped me towards the right direction!

0 いいね!