From 4eae5213c9e1b2c6db6035247a0124912c4dfba1 Mon Sep 17 00:00:00 2001 From: xAlpharax <42233094+xAlpharax@users.noreply.github.com> Date: Sun, 6 Oct 2024 02:09:15 +0300 Subject: Really nice optimizations. Changes to be committed: modified: config.toml modified: sass/_predefined.scss modified: sass/style.scss modified: static/js/main.js renamed: static/auto-render.min.js -> static/katex/auto-render.min.js renamed: static/katex.min.css -> static/katex/katex.min.css renamed: static/katex.min.js -> static/katex/katex.min.js modified: templates/index.html modified: templates/page.html --- templates/index.html | 115 +++++++++++++++++++++++++++------------------------ templates/page.html | 2 +- 2 files changed, 61 insertions(+), 56 deletions(-) (limited to 'templates') diff --git a/templates/index.html b/templates/index.html index 746f8ab..a14a2d0 100644 --- a/templates/index.html +++ b/templates/index.html @@ -4,72 +4,81 @@ - - - + - - + + + + + - - - - - - - - - - - + + + + + - - + + + + + + - - - - + + - - - - - + + + + - - - + + + + + + + + - - - - - - - - + + + + - + + + + - - + - {% if page.title %} - {{ page.title }} - {% else %} - {{ config.title }} - {% endif %} + + - {% if config.generate_feeds %} - - {% endif %} + {% if page.extra.math %} + + + {% endif %} + + {% if page.title %} + {{ page.title }} + {% else %} + {{ config.title }} + {% endif %} + + {% if config.generate_feeds %} + + {% endif %} + + @@ -121,15 +130,11 @@ {% if page.extra.math %} - - - - + - + {% endif %} {% if config.extra.google_analytics.enable %} diff --git a/templates/page.html b/templates/page.html index 176dc7b..df04cf6 100644 --- a/templates/page.html +++ b/templates/page.html @@ -68,7 +68,7 @@ - ToC + ToC {% endif %} -- cgit v1.2.3