How to use AddDate in Frontmatter?

Template functions cannot work directly in front-matter (or content files for that matter).

They work only in the layout files. (Update: Oops, looks like I made a wrong statement. Sorry for misguidance.)


On a related note, .Add, .Sub, etc. work for dates [see].

1 Like