Skip to content
Snippets Groups Projects
Commit 3bb9dfe7 authored by Anthony's avatar Anthony
Browse files

Move custom js bundle include to be accessible everywhere

parent b4985cdd
No related branches found
No related tags found
No related merge requests found
...@@ -2,13 +2,11 @@ ...@@ -2,13 +2,11 @@
{{/* if a quiz.json exists in the page resources, load SurveyJS */}} {{/* if a quiz.json exists in the page resources, load SurveyJS */}}
{{ with .Resources.GetMatch "quiz.json" }} {{ with .Resources.GetMatch "quiz.json" }}
<script defer type="text/javascript"
src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<link href="https://unpkg.com/survey-jquery/defaultV2.min.css" type="text/css" rel="stylesheet"> <link href="https://unpkg.com/survey-jquery/defaultV2.min.css" type="text/css" rel="stylesheet">
<script defer type="text/javascript" src="https://unpkg.com/survey-jquery/survey.jquery.min.js"></script> <script defer type="text/javascript" src="https://unpkg.com/survey-jquery/survey.jquery.min.js"></script>
<script defer type="text/javascript" <script defer type="text/javascript"
src="https://unpkg.com/survey-core/themes/default-light-panelless.min.js"></script> src="https://unpkg.com/survey-core/themes/default-light-panelless.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css" integrity="sha512-Evv84Mr4kqVGRNSgIGL/F/aIDqQb7xQ2vcrdIwxfjThSH8CSR7PBEakCr51Ck+w+/U6swU2Im1vVX0SVk9ABhg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="https://cdn.jsdelivr.net/npm/markdown-it@14.1.0/dist/markdown-it.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/markdown-it@14.1.0/dist/markdown-it.min.js"></script>
{{- $quizjs := slice -}} {{- $quizjs := slice -}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment