From f1b5bebff966eb3ae95e0d5a564371d00e5bfb88 Mon Sep 17 00:00:00 2001 From: Stephen Walsh <868017+stphnwlsh@users.noreply.github.com> Date: Mon, 14 Feb 2022 12:38:15 +1000 Subject: [PATCH 1/4] Add alt text to image --- layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/index.html b/layouts/index.html index d444ff8..978a0fb 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -2,7 +2,7 @@
{{ with .Site.Author.image }} - + {{ $.Site.Author.alternative }} {{ end }}

{{ .Params.title | default .Site.Author.name | default .Site.Title | emojify }} From 80b8e7bd8e9bbc7b0e4bf8276706e1d1aa28a48f Mon Sep 17 00:00:00 2001 From: Stephen Walsh <868017+stphnwlsh@users.noreply.github.com> Date: Mon, 14 Feb 2022 12:39:47 +1000 Subject: [PATCH 2/4] Add alternative text --- exampleSite/config.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 1c227ca..9e786da 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -7,6 +7,7 @@ disableKinds = ["taxonomy", "term"] [author] name = "Lynx" image = "author.jpg" + alternative = "Lynx" links = [ { link = { href = "https://github.com/jpanther/lynx/blob/stable/README.md", text = "View the readme", icon = "github" } }, { link = { href = "styles/", text = "All the link styles", target = "_self" } }, From b0e151acb38ed185b3fda508a2c73adbe87d26fc Mon Sep 17 00:00:00 2001 From: Stephen Walsh <868017+stphnwlsh@users.noreply.github.com> Date: Thu, 16 Jun 2022 12:03:17 +1000 Subject: [PATCH 3/4] Revert using the alternative setting to use name instead --- layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/index.html b/layouts/index.html index 978a0fb..629c9fc 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -2,7 +2,7 @@
{{ with .Site.Author.image }} - {{ $.Site.Author.alternative }} + {{ $.Site.Author.name }} {{ end }}

{{ .Params.title | default .Site.Author.name | default .Site.Title | emojify }} From 6c5b16ea2f11c2f9efbcd2e44b71423d87bcc90b Mon Sep 17 00:00:00 2001 From: Stephen Walsh <868017+stphnwlsh@users.noreply.github.com> Date: Thu, 16 Jun 2022 12:04:21 +1000 Subject: [PATCH 4/4] Revert adding alternative configuration --- exampleSite/config.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 9e786da..1c227ca 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -7,7 +7,6 @@ disableKinds = ["taxonomy", "term"] [author] name = "Lynx" image = "author.jpg" - alternative = "Lynx" links = [ { link = { href = "https://github.com/jpanther/lynx/blob/stable/README.md", text = "View the readme", icon = "github" } }, { link = { href = "styles/", text = "All the link styles", target = "_self" } },