diff options
author | Andrew Varner <varnerac@users.noreply.github.com> | 2017-11-22 11:41:31 +0300 |
---|---|---|
committer | Guillermo Guerrero Ibarra <wolf.fox1985@gmail.com> | 2017-11-22 11:41:31 +0300 |
commit | 3f645b6cbaa94fd3afbe5205f1b1ec99cbecdccd (patch) | |
tree | 6637881a29bca8147bda22dd9ce1aee6b3d7923c | |
parent | 0022f7a65e9feb343045b2e4a3b0de0d72349844 (diff) |
Add alt tags to Recent Posts in Footer (#120)
This should improve accessibility.
-rw-r--r-- | layouts/partials/footer.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 06cd6b2..bfd502e 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -24,9 +24,9 @@ <div class="image same-height-always"> <a href="{{ .Permalink }}"> {{ if isset .Params "banner" }} - <img src="{{ .Site.BaseURL}}{{ .Params.banner }}" class="img-responsive" alt=""> + <img src="{{ .Site.BaseURL}}{{ .Params.banner }}" class="img-responsive" alt="{{ .Title }}"> {{ else }} - <img src="{{ .Site.BaseURL}}img/placeholder.png" class="img-responsive" alt=""> + <img src="{{ .Site.BaseURL}}img/placeholder.png" class="img-responsive" alt="{{ .Title }}"> {{ end }} </a> </div> |