onion theme breaks with front matter
Hi!
Those slides compile fine:
## Slide one
## Slide two
## Slide three

Those slides crash:
---
title: Network Anonymity with Tor
date: March 11, 2020
institute: University College Lillebaelt
author:
- name: Alexander Færøy
email: ahf@torproject.org
slides:
aspect-ratio: 169
font-size: 14pt
table-of-contents: false
---
## Slide one
## Slide two
## Slide three

with this error:
$ pandoc -t beamer -V theme:onion -s test.md -o test.pdf
Error producing PDF.
! LaTeX Error: Something's wrong--perhaps a missing \item.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.124 \end{frame}
It seems something is weird about the front matter, because the second I add any it crashes the slides completely.
Maybe you have something magic in your default template that makes that work, but it would be great if it could work with the default template as well...