DEV Community

Discussion on: Quick Tips and Tricks for Hugo Development

Collapse
 
lorenzck profile image
Lorenz Klopfenstein

Future and past events change with time, as does relative time: do you periodically rebuild the site in order to keep the information up to date?

In the case of relative dates, generating them as absolute timestamps and then converting them client-side with Javascript could be an option. 🤔

Collapse
 
remotesynth profile image
Brian Rinaldi

There are ways to trigger redeploys on Netlify. One I know of is to use Zapier to set a schedule and then trigger redeploys on that schedule. There may be more advanced ways of solving this problem that I am unaware of, but I currently do this manually (not a huge deal for me as I only have one, maybe two events a month).

Yes, I could modify the date client side.