From 8dc6305c6b1dddd57ed2fbe6edb5335b57d305ff Mon Sep 17 00:00:00 2001 From: Jakub Cabak Date: Tue, 13 Apr 2021 17:41:20 +0200 Subject: Accessibility and SEO improvements --- exampleSite/content/about.md | 2 +- layouts/_default/baseof.html | 2 +- layouts/partials/footer.html | 2 +- layouts/partials/header.html | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/exampleSite/content/about.md b/exampleSite/content/about.md index 04cf0d4..b9fda09 100644 --- a/exampleSite/content/about.md +++ b/exampleSite/content/about.md @@ -4,7 +4,7 @@ title = "About" ## About Me -{{< figure class="avatar" src="/avatar.jpg" >}} +{{< figure class="avatar" src="/avatar.jpg" alt="avatar">}} This is a Hugo based resume template. You can find the full source code on [GitHub](https://github.com/ojroques/hugo-researcher). diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index cb56faf..237c540 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,5 +1,5 @@ - + {{- partial "head.html" . -}} {{ if or (.Params.math) (.Site.Params.math) }} {{- partial "math.html" . -}} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 10486f3..192130b 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -2,7 +2,7 @@ {{ with .Site.Params.footer }}
- {{ .text }} + {{ .text }}
{{ end }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 37f5259..b017ee2 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,6 +1,6 @@