~gg/blog-theme

dc38d29e4728759778ab5a792f02cf8c4776ed77 — Gui Goncalves 3 months ago e58dcc4
Enable noscript, remove margin
2 files changed, 7 insertions(+), 4 deletions(-)

M layouts/_default/baseof.html
M static/js/mystify.js
M layouts/_default/baseof.html => layouts/_default/baseof.html +6 -4
@@ 13,9 13,11 @@
    {{- end }}
  </head>
  <body>
    {{ partial "header" . }}
    {{ block "main" . }}{{ end }}
    {{ partial "footer" . }}
    <!-- {{ partial "noscript" . }} -->
    <noscript>
      {{ partial "header" . }}
      {{ block "main" . }}{{ end }}
      {{ partial "footer" . }}
    </noscript>
    {{ partial "noscript" . }}
  </body>
</html>

M static/js/mystify.js => static/js/mystify.js +1 -0
@@ 1,4 1,5 @@
ready(() => {
  document.body.style.margin = '0';
  const canvas = document.createElement('canvas');
  canvas.width = window.innerWidth;
  canvas.height = window.innerHeight;