From 1599f8b09a147d831637c66504f95e546e3a45f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Mon, 23 May 2022 07:43:29 +0200 Subject: [PATCH] config: remove custom_css #248 --- exampleSite/content/basics/configuration/_index.en.md | 2 -- exampleSite/content/basics/migration/_index.en.md | 5 ++++- layouts/partials/stylesheet.html | 3 --- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/exampleSite/content/basics/configuration/_index.en.md b/exampleSite/content/basics/configuration/_index.en.md index 437fbfc752..6e66493aff 100644 --- a/exampleSite/content/basics/configuration/_index.en.md +++ b/exampleSite/content/basics/configuration/_index.en.md @@ -68,8 +68,6 @@ Note that some of these parameters are explained in details in other sections of ordersectionsby = "weight" # Change default color scheme with a variant one. Eg. can be "red", "blue", "green" or an array like [ "blue", "green" ]. themeVariant = "relearn-light" - # Provide a list of custom css files to load relative from the `static/` folder in the site root. - custom_css = ["css/foo.css", "css/bar.css"] # Change the title separator. Default to "::". titleSeparator = "-" # If set to true, the menu in the sidebar will be displayed in a collapsible tree view. diff --git a/exampleSite/content/basics/migration/_index.en.md b/exampleSite/content/basics/migration/_index.en.md index 55ebdee474..b22082f75f 100644 --- a/exampleSite/content/basics/migration/_index.en.md +++ b/exampleSite/content/basics/migration/_index.en.md @@ -14,7 +14,10 @@ This document shows you what's new in the latest release. For a detailed list of --- -## 3.5.0 +## 4.0.0 + +- **Breaking**: The `custom_css` config parameter was removed from the configuration. If used in an existing installation, it can be achieved by overriding the `custom-header.html` template in a much more generic manner. + - **New**: New colors `--PRIMARY-color` and `--SECONDARY-color` were added to provide easier modification of your custom style. These two colors are the default for other, more specific color variables. You don't need to change anything in your existing custom color stylesheets as those variables get reasonable default values. diff --git a/layouts/partials/stylesheet.html b/layouts/partials/stylesheet.html index aeea83e5c8..6624fb4eb1 100644 --- a/layouts/partials/stylesheet.html +++ b/layouts/partials/stylesheet.html @@ -11,9 +11,6 @@ {{- end }} - {{- range .Site.Params.custom_css }} - - {{- end }} {{- if .Site.Params.disableInlineCopyToClipBoard }}