{{/* Included by the theme in the
tag */}} {{/* Get CSS as resource and minify */}} {{- $css := resources.Get "style.css" | resources.Minify }} {{/* if a quiz.json exists in the page resources, load SurveyJS */}} {{ with .Resources.GetMatch "quiz.json" }} {{- $quizjs := slice -}} {{- $quizjs = $quizjs | append (resources.Get "quiz.js") -}} {{- $quizjs = $quizjs | append (resources.Get "gapfill-select.js") -}} {{- $quizjs = $quizjs | resources.Concat "quiz.bundle.js" -}} {{/* {{- $quizjs = $quizjs | resources.Minify -}}*/}} {{ end }}