we now have a _functions folder in our jekyll site.
use :source % to load it in
and use
:call function_name() to call it.