From a0710454944a27b475a6b78acd45da64744f6bb0 Mon Sep 17 00:00:00 2001 From: Olof Nord Date: Sun, 16 Oct 2022 21:34:42 +0000 Subject: [PATCH] Add header logo alt text --- README.md | 1 + layouts/partials/header.html | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 67dc5bb..958ee2c 100644 --- a/README.md +++ b/README.md @@ -296,6 +296,7 @@ Finally, make sure to edit your config.toml to include the following: # ... [params] logo = "/logo.svg" + logoAltText = "Logo" favicon = "/favicon.png" faviconIco = "/favicon.ico" appletouch = "/apple-touch-icon.png" diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 2ef48b1..929af92 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -4,7 +4,7 @@
{{ if not (.Site.Params.logoRightOfTitle | default false) }} - + {{ .Site.Params.LogoAltText | default "Logo" }} {{ end }}