diff --git a/config/_default/params.toml b/config/_default/params.toml index d83551d5..134ee221 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -31,7 +31,7 @@ enableCodeCopy = true showMoreLinkDest = "/posts" cardView = false cardViewScreenWidth = false - layout_background_blur = false # only used when layout equals background + layoutBackgroundBlur = false # only used when layout equals background [article] showDate = true diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index 920c1d5b..ce3c7070 100644 --- a/exampleSite/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -31,7 +31,7 @@ mainSections = ["docs"] showMoreLinkDest = "docs" cardView = true cardViewScreenWidth = false - layout_background_blur = true # only used when layout equals background + layoutBackgroundBlur = true # only used when layout equals background [article] showDate = false diff --git a/exampleSite/content/docs/configuration/index.md b/exampleSite/content/docs/configuration/index.md index d83bd1c5..f2d133c4 100644 --- a/exampleSite/content/docs/configuration/index.md +++ b/exampleSite/content/docs/configuration/index.md @@ -148,7 +148,7 @@ Many of the article defaults here can be overridden on a per article basis by sp | `homepage.showMoreLinkDest` | '/posts' | The destination of the show more button. | | `homepage.cardView` | `false` | Display recent articles as a gallery of cards. | | `homepage.cardViewScreenWidth` | `false` | Enhance the width of the recent articles card gallery to take the full width available. | -| `homepage.layout_background_blur` | `false` | Makes the background image in the homepage layout blur with the scroll | +| `homepage.layoutBackgroundBlur` | `false` | Makes the background image in the homepage layout blur with the scroll | | `article.showDate` | `true` | Whether or not article dates are displayed. | | `article.showViews` | `false` | Whether or not article views are displayed. This requires firebase integrations to be enabled, look below. | | `article.showLikes` | `false` | Whether or not article likes are displayed. This requires firebase integrations to be enabled, look below. | diff --git a/layouts/partials/home/background.html b/layouts/partials/home/background.html index 5b509285..b750c72c 100644 --- a/layouts/partials/home/background.html +++ b/layouts/partials/home/background.html @@ -56,7 +56,7 @@
{{ partial "recent-articles.html" . }}
-{{ if .Site.Params.homepage.layout_background_blur | default false }} +{{ if .Site.Params.homepage.layoutBackgroundBlur | default false }}