From 307b7ab9c379e961041f767fcc15557472db84cc Mon Sep 17 00:00:00 2001 From: ylemkimon Date: Fri, 10 Aug 2018 02:52:49 +0900 Subject: [PATCH] Improve main page (index.html) speed (#1577) * Inline Font Awesome icons using SVG * Add license information header * Preload KaTeX fonts * Defer loading javascripts * Cleanup stylesheet links * Invoke startup script immediately * Fix typo * Add leading zeros --- website/pages/index.html | 55 ++++++++++++++++++++++++--------- website/static/js/index.js | 4 +-- website/static/static/index.css | 17 ++++++++++ 3 files changed, 59 insertions(+), 17 deletions(-) diff --git a/website/pages/index.html b/website/pages/index.html index b8e05206..c7cd8235 100644 --- a/website/pages/index.html +++ b/website/pages/index.html @@ -1,4 +1,9 @@ + @@ -10,11 +15,18 @@ + + + + + + + - - - - + + + +
@@ -23,9 +35,18 @@ The fastest math typesetting library for the web.
@@ -87,11 +117,6 @@ f(x) = \int_{-\infty}^\infty Created by Emily Eisenberg and Sophie Alpert
- - -