Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MACAO Hugo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MACAO
MACAO Hugo
Commits
0e2a804d
Commit
0e2a804d
authored
Jun 17, 2024
by
Eliott Sammier
Browse files
Options
Downloads
Patches
Plain Diff
Deferred scripts loading
parent
e295663d
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
macao/layouts/partials/head.html
+14
-12
14 additions, 12 deletions
macao/layouts/partials/head.html
with
14 additions
and
12 deletions
macao/layouts/partials/head.html
+
14
−
12
View file @
0e2a804d
...
...
@@ -7,13 +7,15 @@
{{/* if a quiz.json exists in the page resources, load SurveyJS */}}
{{ with .Resources.GetMatch "quiz.json" }}
<script
type=
"text/javascript"
src=
"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"
></script>
<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"
>
<script
type=
"text/javascript"
src=
"/survey.jquery.min.js"
></script>
<script
type=
"text/javascript"
src=
"https://unpkg.com/survey-core/themes/default-light-panelless.min.js"
></script>
<script
defer
type=
"text/javascript"
src=
"/survey.jquery.min.js"
></script>
<script
defer
type=
"text/javascript"
src=
"https://unpkg.com/survey-core/themes/default-light-panelless.min.js"
></script>
{{- $quizjs := resources.Get "quiz.js" -}}
<script
type=
"text/javascript"
src=
"{{- $quizjs.RelPermalink -}}"
>
</script>
<script
defer
type=
"text/javascript"
src=
"{{- $quizjs.RelPermalink -}}"
></script>
{{ end }}
{{ end }}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment