private initfunction

Function for defining the initialisation code called by serve for a specific target output.

Should be defined for each valid output target, i.e html, pdf, etc. Signature should follow the following template:

function init(project::Project, ::typeof(target); kws...)
    # ...
end

where target is the Function defining the output format.