if theme.mathjax && theme.mathjax.enable
if theme.mathjax.per_page
if is_post() || is_page()
include ./mathjax.pug
else
if page.mathjax
if theme.katex && theme.katex.enable
if theme.katex.per_page
include ./katex.pug
if page.katex
if theme.mermaid.enable
include ./mermaid.pug