{{ partial "gallerydeluxe/head.html" . }} {{ partial "head.html" . }} {{ partial "logo.html" . }} {{/* init.hmlt takes either a slice of .images or a .sourcePath that points to a bundle with images. An .id will be calculated if not provided. This will be used to create the URL to the data file. */}} {{ $bundle := site.GetPage "images" }} {{ $images := $bundle.Resources.ByType "image" }} {{ $gallery := partial "gallerydeluxe/init.html" (dict "sourcePath" "images") }} {{ $params := site.Params.gallerydeluxe }} {{/* We currently only support 1 gallery per page, which is create4 by an element with id 'gallerydeluxe', and a valid data url. */}}