From 52f635605cfd231c627fd8a6cabba196dc6a6ff8 Mon Sep 17 00:00:00 2001 From: Philipp Krenn Date: Tue, 23 Apr 2019 18:24:57 +0200 Subject: Bring the Lighthouse accessibility score to 100% --- layouts/_default/baseof.html | 4 ++-- layouts/partials/icon.html | 1 + 2 files changed, 3 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 @@ - + {{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }} // {{ .Site.Title }}{{ end }} @@ -17,7 +17,7 @@
- + {{ .Site.Params.author | default

{{ .Site.Title }}

{{ .Site.Params.description | default "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vehicula turpis sit amet elit pretium." }}

diff --git a/layouts/partials/icon.html b/layouts/partials/icon.html index e3f67f0..123bd23 100644 --- a/layouts/partials/icon.html +++ b/layouts/partials/icon.html @@ -1,5 +1,6 @@ {{- if isset .ctx.Site.Data.m10c.icons .name -}} + {{ .name }} {{ safeHTML (index .ctx.Site.Data.m10c.icons .name) }} {{- else -}} -- cgit v1.2.3