diff options
Diffstat (limited to 'data/default.toml')
-rw-r--r-- | data/default.toml | 55 |
1 files changed, 46 insertions, 9 deletions
diff --git a/data/default.toml b/data/default.toml index 746f27b..44040c9 100644 --- a/data/default.toml +++ b/data/default.toml @@ -4,16 +4,9 @@ minLength = 3 maxLength = 32 -[imageProc] - highRes = [ "1280x", "1280w" ] - mediumRes = [ "960x", "960w" ] - lowRes = [ "640x q90", "640w" ] - - markupAutoResizeWidth = 1280 - [style] - darkAccent = "#1dbc91" - lightAccent = "#1f676b" + darkAccent = "1dbc91" + lightAccent = "1f676b" changeTransition = ".3s ease" @@ -21,3 +14,47 @@ title = "Page not found" description = "This page was not found." paragraph = "Nothing to see here, buddy." + +[libs] + fusejs = "6.6.2" + katex = "0.15.6" + + +[imageProcessing] + + # Enable auto resize + # Includes "img" and "figure" shortcodes + autoResize = true + + # Convert "tiff" files to the format below + # since the most used browsers don't support it + fallbackOptions = "jpeg" + + # Fill options for Open Graph and Twitter Card images + # These images are also used in the Schema.org structured data + openGraphFillOptions = "1200x630" + twitterFillOptions = "1280x640" + + # Extra formats (along JPEG/PNG) + [[imageProcessing.extraFormats]] + formatOptions = "webp" + mediaType = "image/webp" + minVersion = "0.83" + + # Sizes at which images are resized + # Keep the sizes in descending order + # The smallest size will be used as the default image + [[imageProcessing.sizes]] + resizeOptions = "1280x" + descriptor = "1280w" + minWidth = 1280 + + [[imageProcessing.sizes]] + resizeOptions = "960x" + descriptor = "960w" + minWidth = 960 + + [[imageProcessing.sizes]] + resizeOptions = "640x q90" + descriptor = "640w" + minWidth = 640 |