diff --git a/CHANGELOG.md b/CHANGELOG.md index d26bb0c..da62afa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Allow enabling KaTeX per page/section. +- Improve the logic of inclusion feeds in `
`. - Restly the heading anchors. ## Fixed diff --git a/config.toml b/config.toml index 1d4ee95..ffe702f 100644 --- a/config.toml +++ b/config.toml @@ -127,7 +127,8 @@ show_read_time = true show_share_button = true # Whether to enable the KaTeX library for rendering LaTeX. # Note: This will make your page significantly heavier. -katex = true +# Instead, consider enabling it per page/section. +# katex = true # Display outlines around all elements for debugging purposes # debug_layout = true diff --git a/content/demo/index.md b/content/demo/index.md index 7dbb046..44e875e 100644 --- a/content/demo/index.md +++ b/content/demo/index.md @@ -1,6 +1,7 @@ +++ title = "Demo Page" [extra] +katex = true archive = "This page is in fact not archived. It is only here to demonstrate the archival statement." trigger = "This page contains blackjack and hookers, and bad jokes such as this one." disclaimer = """ diff --git a/templates/partials/head.html b/templates/partials/head.html index ff3d697..c9cbff6 100644 --- a/templates/partials/head.html +++ b/templates/partials/head.html @@ -10,15 +10,6 @@