diff options
| author | Jieiku | 2023-05-22 23:24:44 -0700 |
|---|---|---|
| committer | Jieiku | 2023-05-22 23:24:44 -0700 |
| commit | 3af6d9131f6dfc138856d718ec96626344095ec8 (patch) | |
| tree | 1a8d75cf494d5333da2cb02506e04c9e0f576f6d /config.toml | |
| parent | 3ca36cc469e838cee7d3fdcdc6ff39b35313a293 (diff) | |
| download | abridge-3af6d9131f6dfc138856d718ec96626344095ec8.tar.gz abridge-3af6d9131f6dfc138856d718ec96626344095ec8.tar.bz2 abridge-3af6d9131f6dfc138856d718ec96626344095ec8.zip | |
Optimizations and Fixes
Diffstat (limited to 'config.toml')
| -rw-r--r-- | config.toml | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/config.toml b/config.toml index 29b1ba9..45f7f60 100644 --- a/config.toml +++ b/config.toml @@ -1,8 +1,8 @@ # do NOT include a trailing slash on the base URL base_url = "https://abridge.netlify.app" -#base_url = "/home/jieiku/.dev/abridge/public" # Usable site directly from disk -# Also set index_format = "elasticlunr_javascript", and in [extra] uglyurls = true, integrity = false +#base_url = "/home/jieiku/.dev/abridge/public" # Usable site directly from disk, Including Search! +# Also set index_format = "elasticlunr_javascript", and in [extra] uglyurls = true, integrity = false, js_bundle = false default_language = "en" compile_sass = true @@ -24,11 +24,13 @@ taxonomies = [ #theme = "abridge" +# Any Extra language you do not use, delete or comment out the extra language sections: [languages.fr] title = "Abridge" description = "Abridge est un thème Zola rapide et léger utilisant le html sémantique, le CSS abridge.css class-light et aucun JS obligatoire." generate_feed = true build_search_index = true +search.include_description = true # include description of page/section in index taxonomies = [ {name = "categories", feed = true}, {name = "tags", feed = true}, @@ -42,7 +44,7 @@ Recent_Posts = "Articles Récents" Index = "Indice" Powered_by = "Propulsé" and = "et" -About = "À propos" +About = "Sur" Posts = "Articles" Categories = "Catégories" Tags = "Mots-clés" @@ -58,9 +60,9 @@ Sitemap = "Plan du site" #tags = "Etiquetas" [search] # Options specific to elasticlunr search. -index_format = "elasticlunr_json" +index_format = "elasticlunr_json" # elasticlunr_json, elasticlunr_javascript include_title = true # include title of page/section in index -include_description = false # include description of page/section in index +include_description = true # include description of page/section in index include_content = true # include rendered content of page/section in index # truncate_content_length = 100 # Truncate at nth character. May be useful if index is getting too large. @@ -193,11 +195,11 @@ js_copycode = true # The copy button on code blocks that allows you to copy them search_library = 'elasticlunr' #js_search_index = "search_index.en.json" # Separate Always, generated each build -#js_theme = "theme.min.js" # Separate Always, comment out if using -auto/-light/-dark stylesheet. (required for switcher) -#js_themeButton = "theme_button.js"# Bundleable - light/dark switcher button -#js_prestyle = "prestyle.js"# Bundleable - used to preload: FontAwesome, Katex, external Google Fonts -#js_codecopy = "codecopy.js"# Bundleable - copy code block to clipboard button -#js_email = "email.js"# Bundleable - obfuscates email address in footer +#js_theme = "js/theme.min.js" # Separate Always, comment out if using -auto/-light/-dark stylesheet. (required for switcher) +#js_themeButton = "js/theme_button.js"# Bundleable - light/dark switcher button +#js_prestyle = "js/prestyle.js"# Bundleable - used to preload: FontAwesome, Katex, external Google Fonts +#js_codecopy = "js/codecopy.js"# Bundleable - copy code block to clipboard button +#js_email = "js/email.js"# Bundleable - obfuscates email address in footer stylesheets = [ "abridge.css" ] @@ -294,14 +296,14 @@ favicon16 = "favicon-16x16.png" # favicon-16x16.png ### Otherwise you will load the katex related javascript on every page! ############################################################################### -#katex_options = "katexoptions.js" -#katex_bundle = "katexbundle.min.js" +#katex_options = "js/katexoptions.js" +#katex_bundle = "js/katexbundle.min.js" ### Load Katex Local Resources #katex_css = "katex.min.css" # Fonts - load the css/fonts locally -#katex_js = "katex.min.js" # use local js, so that we dont have to whitelist cdn.jsdelivr.net for script src in CSP -#mathtex_js = "mathtex-script-type.min.js" # use local js, so that we dont have to whitelist cdn.jsdelivr.net for script src in CSP -#katex_autorender_js = "katex-auto-render.min.js" +#katex_js = "js/katex.min.js" # use local js, so that we dont have to whitelist cdn.jsdelivr.net for script src in CSP +#mathtex_js = "js/mathtex-script-type.min.js" # use local js, so that we dont have to whitelist cdn.jsdelivr.net for script src in CSP +#katex_autorender_js = "js/katex-auto-render.min.js" ### Load Katex External Resources #katex_css = "https://cdn.jsdelivr.net/npm/katex@0.15.6/dist/katex.min.css" # Fonts - use remote fonts |
