Update update-lastmod script to not modify date frontmatter if it exists

Review Request #639 — Created May 3, 2021 and discarded — Latest diff uploaded

Information

pidgin/nest
default

Reviewers

In some markdown files we already have the date frontmatter field defined, if
that's the case then we want to tell the update-lastmod script to not overwrite
it with the date that the file got added to the repository as in some cases
(for example the CVEs) the content may be older than when we added it to the
repo.
  1. Build docker container
  2. Ran docker container locally
  3. Verified that the contents of both blog post and advisories are ordered correctly