diff --git a/README.md b/README.md index 2a5ac0b..958ee2c 100644 --- a/README.md +++ b/README.md @@ -259,6 +259,7 @@ Every post can have various parameters in the frontmatter, here are some that yo - `description`: a brief description of the post, useful for SEO optimization - `tags`: an array of tags, useful for searching similar articles - `image`: a link to a feature image for the article, shown in the preview as well +- `alt`: alternative text to be shown if image is not available or fails to download - `imageCaption`: a markdown text rendered as a caption for the article image described above - `featured`: boolean, indicate if the post should be shown as featured - `comments`: boolean, if true it enables comments for the current post, if false it disables them (default is true) @@ -295,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/assets/scss/style.scss b/assets/scss/style.scss index 95fe342..0a9252b 100644 --- a/assets/scss/style.scss +++ b/assets/scss/style.scss @@ -960,8 +960,8 @@ header.jumbotronContainer { }} background: linear-gradient( - transparentize(var(--default_bg), 0.2), - transparentize(var(--default_bg), 0.2) + transparentize($dark_bg, 0.2), + transparentize($dark_bg, 0.2) ), url({{ .Site.Data.jumbotron.background }}); background-size: cover; 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 }}