{{ $currentPage := . }} {{ if in .Site.Params.buildtype "package" }}