Skip to content
Snippets Groups Projects
Select Git revision
  • dd0ccd684c12139c4d30a28e11c117dfdb88093d
  • main default
  • 35-cgu
  • 34-peertube-support
  • 27-add-autoplay-to-iframe
  • 33-bug-on-youtube-embed-urls
  • RC-Rekall-v1.1-fix_lpo
  • tuleap-140-go-back-to-my-capsules-page-when-i-m-on-capsule-preview-page
  • RC-Rekall-v1.2-fix10
  • RC-Rekall-v1.2-fix9
  • RC-Rekall-v1.2-fix8
  • RC-Rekall-v1.2-fix7
  • RC-Rekall-v1.2-fix6
  • RC-Rekall-v1.2-fix5
  • RC-Rekall-v1.2-fix4
  • RC-Rekall-v1.2-fix3
  • RC-Rekall-v1.2-fix2
  • RC-Rekall-v1.2-fix1
  • RC-Rekall-v1.1-fix-3
  • RC-Rekall-v1.1-fix-2
  • RC-Rekall-v1.1-fix-1
  • RC-Rekall-v1.1-delivered
  • preprod20220209-1535
23 results

README.md

Blame
  • To learn more about this project, read the wiki.
    head.html 1.04 KiB
    {{/* Included by the theme in the <head> tag */}}
    
    {{/* if a quiz.json exists in the page resources, load SurveyJS */}}
    {{ with .Resources.GetMatch "quiz.json" }}
    
        <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-core/themes/default-light-panelless.min.js"></script>
       <script src="https://cdn.jsdelivr.net/npm/markdown-it@14.1.0/dist/markdown-it.min.js"></script>
    
        {{- $quizjs := slice -}}
        {{- $quizjs = $quizjs | append (resources.Get "quiz.js") -}}
        {{- $quizjs = $quizjs | append (resources.Get "gapfill-select.js") -}}
        {{- $quizjs = $quizjs | append (resources.Get "gapfill-open.js") -}}
        {{- $quizjs = $quizjs | resources.Concat "quiz.bundle.js" -}}
        {{/*        {{- $quizjs = $quizjs | resources.Minify -}}*/}}
        <script type="module" src="{{- $quizjs.RelPermalink -}}"></script>
    {{ end }}