From 2fef61e315a2d5e15a945f57328fe389468d7821 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 24 Oct 2021 20:01:23 +0200 Subject: report: Optimize page load MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Switch to KaTeX, which is smaller than MathJax, and defer loading Bokeh’s big scripts. --- lulua/data/report/index.html | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/lulua/data/report/index.html b/lulua/data/report/index.html index ed9dc30..cc4cd3d 100644 --- a/lulua/data/report/index.html +++ b/lulua/data/report/index.html @@ -5,15 +5,23 @@ لؤلؤة: لوحة مفاتيح عربية - + {# Fonts #} + + {# Pure.css #} - - + + {# TeX support #} + + + + + {# bokeh #} + {# Defer loading bokeh, so it does not block rendering #} {% for f in bokehres.js_files -%} - + {%- endfor %} {% for f in bokehres.css_files -%} @@ -957,12 +965,16 @@ -- cgit v1.2.3