Add alt attr to site logo in masthead (#2824)
Co-authored-by: Michael Rose <mmistakes@users.noreply.github.com>
This commit is contained in:
parent
6e4aa384d0
commit
3d3cb58a2e
3 changed files with 9 additions and 1 deletions
|
@ -1,5 +1,9 @@
|
|||
## Unreleased
|
||||
|
||||
### Enhancements
|
||||
|
||||
- Add `alt` attribute to site logo. [#2529](https://github.com/mmistakes/minimal-mistakes/issues/2529) [#2824](https://github.com/mmistakes/minimal-mistakes/issues/2824)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- Remove Google Search CSS. [#2852](https://github.com/mmistakes/minimal-mistakes/issues/2852) [#2855](https://github.com/mmistakes/minimal-mistakes/pull/2855)
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<div class="masthead__menu">
|
||||
<nav id="site-nav" class="greedy-nav">
|
||||
{% unless logo_path == empty %}
|
||||
<a class="site-logo" href="{{ '/' | relative_url }}"><img src="{{ logo_path | relative_url }}" alt=""></a>
|
||||
<a class="site-logo" href="{{ '/' | relative_url }}"><img src="{{ logo_path | relative_url }}" alt="{{ site.masthead_title | default: site.title }}"></a>
|
||||
{% endunless %}
|
||||
<a class="site-title" href="{{ '/' | relative_url }}">
|
||||
{{ site.masthead_title | default: site.title }}
|
||||
|
|
|
@ -11,6 +11,10 @@ toc: false
|
|||
|
||||
## Unreleased
|
||||
|
||||
### Enhancements
|
||||
|
||||
- Add `alt` attribute to site logo. [#2529](https://github.com/mmistakes/minimal-mistakes/issues/2529) [#2824](https://github.com/mmistakes/minimal-mistakes/issues/2824)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- Remove Google Search CSS. [#2852](https://github.com/mmistakes/minimal-mistakes/issues/2852) [#2855](https://github.com/mmistakes/minimal-mistakes/pull/2855)
|
||||
|
|
Loading…
Reference in a new issue