feat: global/individual toggle for KaTeX and copy button

Allow KaTeX and copy button to be enabled globally or for individual posts.
This commit is contained in:
welpo
2023-08-02 19:38:04 +02:00
parent 5cdc18e688
commit edcfa359ef
9 changed files with 42 additions and 42 deletions

View File

@@ -36,6 +36,9 @@ copy_button = true
# Adds backlinks to footnotes (loads ~500 bytes of JavaScripts).
footnote_backlinks = false
# Enable KaTeX for all posts.
katex = false
# Date format used when listing posts (main page, /blog section, tag posts list…)
# Default is "6th July 2049" in English and "%d %B %Y" in other languages.
long_date_format = "%d %B %Y"