Html End

<script src="../../scripts/main.js" defer>
</script>

</body>

</html>
{% if debug %}
    <script src="{{ '/scripts/main.js' | path }}" defer></script>
  {% else %}
    <!-- load legacy js code for browsers that do not support es2017+ -->
    <script>
      var modern = function() { try { new Function("(a = 0) => a"); return true; } catch (err) { return false; } }();
      var loadJs = function(src, cb) { "use strict"; var ref = document.getElementsByTagName("script")[0]; var script = document.createElement("script"); script.src = src; script.async = true; ref.parentNode.insertBefore(script, ref); if (cb && typeof(cb) === "function") { script.onload = cb; } return script; };
      if (modern) {
        loadJs("{{ '/scripts/main.min.js' | path }}");
      } else {
        loadJs("{{ '/scripts/main.legacy.min.js' | path }}");
      }
      {# if you want to use the serviceworker, uncomment this
      if ('serviceWorker' in navigator) {
        navigator.serviceWorker.register('/serviceworker.js');
      }
      #}
    </script>
  {% endif %}
  </body>
</html>
debug: true
styleguide: true
shared:
  breakpoints:
    s: 480
    m: 640
    l: 720
    xl: 960
    xxl: 1100
    xxxl: 1400
    custom: '(max-width: 30em)'
  fonts:
    default:
      family: Roboto
      fallback: sans-serif
      weight: 400
      style: normal
      fontface: true
      file: roboto-regular
site:
  lang: en
  dir: ltr
  title: 'Kalong—Styleguide, v0.0.1-alpha.1'
  description: null
  themecolor: '#000000'
  modifiers: null
globals:
  nav:
    main:
      - href: '#somepage'
        label: Somepage

There are no notes for this item.