Hide "Metadata" when front matter is shown

If I am not mistaken, When we choose to show frontmatter, we display the same batch of information twice:

  1. On top of the page within the “Frontmatter box”
  2. Right below within the “Matedata” box.

I believe it will be a much cleaner display of the note if only one of the existing YAML content is shown.