The default default.beamertemplate for the LaTex template for pandoc has the following line:
$if(theme)$
\usetheme{$theme$}
$endif$
Is a test conducted for a specific topic? Sort of:
$if(theme)$
\usetheme{$theme$}
$if(Berlin)$
\setbeamertemplate{headline}
{}
$endif$
$endif$
In Pandoc - Pandoc User Guide , I found this:
$if(variable)$
X
$else$
Y
$endif$
This will include X in the pattern if the variable has a nonzero value; otherwise, it will include Y. X and Y are placeholders for any valid text template and may include interpolated variables or other conditional ones. The $ else $ section may be omitted.
, , - true false, Darmstadt Berlin LaTex Beamer.
-?