From a04e54d9fed5760e6843b74d20e8df63b8d890c6 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Mon, 30 May 2022 22:43:55 -0700 Subject: Add Page.summary fallback and Add Katex --- config.toml | 1 + sass/_variables.scss | 4 ++-- templates/base.html | 12 ++++++++++-- templates/index.html | 12 +++++++++++- 4 files changed, 24 insertions(+), 5 deletions(-) diff --git a/config.toml b/config.toml index 6e6b5cc..a90847b 100644 --- a/config.toml +++ b/config.toml @@ -30,6 +30,7 @@ smart_punctuation = false # `...` to `…`, `"quote"` to `“curly”` [extra] katex_enable = false # used to to render mathematical notations, requires js +katex_auto_render = false recent = true recent_items = 9 footer_credit = true diff --git a/sass/_variables.scss b/sass/_variables.scss index 6fa3915..72adc3e 100644 --- a/sass/_variables.scss +++ b/sass/_variables.scss @@ -15,8 +15,8 @@ $enable-responsive-spacings: false !default; // Enable a centered viewport for
,
,