Skip to content

jasonnrosa/add-suffix-to-blog-date

 
 

Repository files navigation

Add Suffix to Blog Date

Purpose: to add the suffix (e.g. the "th" in 13th) to the end of the number on a date in the HubSpot blog tool

Snippet Information

Add this snippet in the blog listing template HTML/blog post template HTML where you want your date to show. To edit the formatting of the month and year please reference the datetimeformat HubL filter here (https://designers.hubspot.com/docs/hubl/hubl-supported-filters#datetimeformat).

About

A code snippet to add a suffix to a blog date on the HubSpot CMS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 99.6%
  • Other 0.4%