Skip to content

Commit

Permalink
provide an alt tag for the logo img.
Browse files Browse the repository at this point in the history
  • Loading branch information
dajohi committed Dec 12, 2019
1 parent 993c728 commit 26b4ca7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion material/partials/nav.html
Expand Up @@ -7,7 +7,7 @@
{% if config.theme.logo.icon %}
<i class="md-icon">{{ config.theme.logo.icon }}</i>
{% else %}
<img src="{{ config.theme.logo | url }}" width="48" height="48">
<img alt="logo" src="{{ config.theme.logo | url }}" width="48" height="48">
{% endif %}
</a>
{{ config.site_name }}
Expand Down
3 changes: 2 additions & 1 deletion src/partials/nav.html
Expand Up @@ -30,7 +30,8 @@
{% if config.theme.logo.icon %}
<i class="md-icon">{{ config.theme.logo.icon }}</i>
{% else %}
<img src="{{ config.theme.logo | url }}" width="48" height="48" />
<img alt="logo" src="{{ config.theme.logo | url }}" width="48"
height="48" />
{% endif %}
</a>
{{ config.site_name }}
Expand Down

0 comments on commit 26b4ca7

Please sign in to comment.