    <script>
    {{ with .Scratch.Get "repo_id" }}
      var base_url = '{{ (printf "%s" $.Site.BaseURL) | safeJS }}';
      var repo_id  = '{{ . | safeJS }}';
    {{ else }}
      var base_url = '';
      var repo_id  = '';
    {{ end }}
    </script>
    
    <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
    <script src="{{ .Site.BaseURL }}javascripts/application.js"></script>
    <script src="{{ .Site.BaseURL }}javascripts/datacamp.js"></script>
    {{ range .Site.Params.custom_js }