<!DOCTYPE html>
<html {{ HTML_ATTRS }}>
  <head>
    {{ HEAD }}
    <script>
      ;(function(win, doc) {
        function resizeRoot() {
          var wWidth =
              screen.width > 0
                ? win.innerWidth >= screen.width || win.innerWidth == 0
                  ? screen.width
                  : win.innerWidth
                : win.innerWidth,
            wFsize
          wFsize = ((wWidth > 750 ? 750 : wWidth) / 375) * 100
          doc.documentElement.style.fontSize = wFsize + 'px'
        }
        resizeRoot()
        win.addEventListener('resize', resizeRoot, false)
      })(window, document)
    </script>
  </head>
  <body {{ BODY_ATTRS }}>
    {{ APP }}
  </body>
</html>
