Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
tpl: add now function #2859
Add a timeNow template function that returns the current time as
Don't know what the right way to test this change is (if necessary), so I'm open to suggestions.
Personally, I'm looking to use use the unix timestamp of the current time in the query string for cache busting in a theme.
I'm sure hugo users will come up with other creative uses for current time.