{{/* Defind loading plugin scripts which only need in pages */}}

{{ if or .Params.math .Site.Params.math }}
  {{ partial "_funs/get_plugin.html" (dict "ctx" . "class" "others" "plugin" "math.js") }}
{{ end }}

{{ if .Params.mermaid }}
  {{ partial "_funs/get_plugin.html" (dict "ctx" . "class" "others" "plugin" "mermaid.js") }}
{{ end }}