diff --git a/config.toml b/config.toml index 89f7a8e..347efd2 100644 --- a/config.toml +++ b/config.toml @@ -47,6 +47,7 @@ pygmentsCodefencesGuessSyntax = true googleAnalytics = "" # copyright description used only for seo schema copyright = "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License." + # Menu config [languages.en.menu] [[languages.en.menu.main]] @@ -214,6 +215,43 @@ pygmentsCodefencesGuessSyntax = true socialShare = false showRelatedPosts = true + # Page config + [params.page] + # whether to hide a page from home page + hiddenFromHomePage = false + # whether to hide a page from search results + hiddenFromSearch = false + # whether to enable twemoji + twemoji = false + # whether to enable lightgallery + lightgallery = false + # whether to enable the ruby extended syntax + ruby = true + # whether to enable the fraction extended syntax + fraction = true + # whether to enable the fontawesome extended syntax + fontawesome = true + # whether to show link to Raw Markdown content of the content + linkToMarkdown = true + # whether to show the full text content in RSS + rssFullText = true + + # Table of the contents config + [params.page.toc] + # whether to enable the table of the contents + enable = true + # whether to keep the static table of the contents in front of the post + keepStatic = false + # whether to make the table of the contents in the sidebar automatically collapsed + auto = true + + # Code config + [params.page.code] + # whether to show the copy button of the code block + copy = true + # the maximum number of lines of displayed code by default + maxShownLines = 10 + # Cookie consent config # Cookie 许可配置 [params.cookieconsent]