Add generation date to markdown and LaTeX templates.