\logo{\includegraphics[scale=0.1]{template/logo.png}}
\newcommand{\ifmglogo}{
\begin{frame}[plain]
\maketitle\vspace{-0.6cm}
\begin{figure}[ht!]
\centering
\includegraphics[width=1.3cm]{template/logo.png}
\end{figure}
\end{frame}
}