diff options
author | Philipp Krenn <pk@xeraa.net> | 2019-04-23 19:24:57 +0300 |
---|---|---|
committer | Fabien <vaga@users.noreply.github.com> | 2019-04-24 12:30:19 +0300 |
commit | 52f635605cfd231c627fd8a6cabba196dc6a6ff8 (patch) | |
tree | 69b4938e0be4212232db084ac8f4c676c9b5db58 /layouts/_default/baseof.html | |
parent | 4f7e38395af766a3dbc480b12f87dd09ec71ef50 (diff) |
Bring the Lighthouse accessibility score to 100%
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r-- | layouts/_default/baseof.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index a16f1f0..542130a 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,5 +1,5 @@ <!doctype html> -<html> +<html lang="{{ .Site.LanguageCode | default "en-us" }}"> <head> <title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }} // {{ .Site.Title }}{{ end }}</title> <meta charset="utf-8" /> @@ -17,7 +17,7 @@ </head> <body> <header class="app-header"> - <a href="/"><img class="app-header-avatar" src="{{ .Site.BaseURL }}/avatar.jpg" /></a> + <a href="/"><img class="app-header-avatar" src="{{ .Site.BaseURL }}/avatar.jpg" alt="{{ .Site.Params.author | default "John Doe" }}" /></a> <h1>{{ .Site.Title }}</h1> <p>{{ .Site.Params.description | default "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vehicula turpis sit amet elit pretium." }}</p> <div class="app-header-social"> |