From ceb809eeaa86ed246e27d7f13ae2fad59991924a Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson Date: Wed, 11 Oct 2023 10:03:12 +0200 Subject: [PATCH] Add the siteName param so site name can optionaly be set to visually-hidden. --- README.md | 1 + layouts/_default/baseof.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 117c846..a653134 100644 --- a/README.md +++ b/README.md @@ -285,6 +285,7 @@ params: sassTranspiler: "dartsass"# The Sass transpiler to use, default "libsass". searchLimit: 20 # Max number of search hits, default 20. sidebar: true # Show a sidebar to the right, default false. + siteName: false # Hide the site name (visually-hidden), default true. submitted: true # Show author and date information for a post. themeColor: # Hex color value, used in meta tags, default "#ffffff". umbrella: true # Add Umbrella JS, default false. diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index fa94c9a..aa27349 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -21,7 +21,7 @@ Home {{ end -}} -

+

{{ site.Title }}