From 81c799839bb0d2f07674d54db4bdb2769162f03a Mon Sep 17 00:00:00 2001 From: Simone Bortolin Date: Tue, 9 Aug 2022 11:45:45 +0200 Subject: add mermaid update image update software versions of f601 add webp support try to run webp Create pages.yml Update ont-Huawei-HG8010H.md Delete .github/workflows directory Update ont-ZTE-F601.md add alias section update clone style Delete ont-huawei-cm5671a.md some update update some thing add 404 icon update 404 --- _config.yml | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 58 insertions(+), 1 deletion(-) (limited to '_config.yml') diff --git a/_config.yml b/_config.yml index 5bbf58c..f015238 100644 --- a/_config.yml +++ b/_config.yml @@ -57,4 +57,61 @@ gh_owner_name: hack-gpon gh_repository_name: hack-gpon.github.io whitelist: - - jekyll-redirect-from \ No newline at end of file + - jekyll-redirect-from + +mermaid_enabled: true +mermaid: + # Version of mermaid library + # Pick an available version from https://cdn.jsdelivr.net/npm/mermaid/ + version: "9.1.3" + # Configured theme of mermaid diagrams + # Pick an avaiable theme from https://mermaid-js.github.io/mermaid/#/theming + theme: "default" + # Additional configuration available matching pattern as defined in https://mermaid-js.github.io/mermaid/#/./Setup. + # For example, + # logLevel: 'fatal', + # sequence: + # diagramMarginX: 50 + # actorMargin: 50 + # gantt: + # barGap: 4 + # topPadding: 50 + +############################################################ +# Site configuration for the WebP Generator Plugin +# The values here represent the defaults if nothing is set +webp: + enabled: true + + # The quality of the webp conversion 0 to 100 (where 100 is least lossy) + quality: 80 + + # List of directories containing images to optimize, nested directories will only be checked if `nested` is true + # By default the generator will search for a folder called `/img` under the site root and process all jpg, png and tiff image files found there. + img_dir: ["/img","/assets/img/"] + + # Whether to search in nested directories or not + nested: false + + # add ".gif" to the format list to generate webp for animated gifs as well + formats: [".jpeg", ".jpg", ".png", ".tiff"] + + # File extensions for animated gif files + gifs: [".gif"] + + # Set to true to always regenerate existing webp files + regenerate: false + + # Local path to the WebP utilities to use (relative or absolute) + # Omit or leave as nil to use the utilities shipped with the gem, override only to use your local install + # Eg : "/usr/local/bin/cwebp" + webp_path: nil + + # List of files or directories to exclude + # e.g. custom or hand generated webp conversion files + exclude: [] + + # append '.webp' to filename after original extension rather than replacing it. + # Default transforms `image.png` to `image.webp`, while changing to true transforms `image.png` to `image.png.webp` + append_ext: false +############################################################ \ No newline at end of file -- cgit v1.2.3