Merge pull request #64 from codeofdusk/footer-img-alt
Add alt text to footer links
This commit is contained in:
@@ -1,20 +1,20 @@
|
|||||||
<footer class="side-padding" style="background-image: url('{{ "img/home-blob-flip.svg" | absURL }}');">
|
<footer class="side-padding" style="background-image: url('{{ "img/home-blob-flip.svg" | absURL }}');">
|
||||||
<a href="{{ $.Site.BaseURL }}" class="footer-link">
|
<a href="{{ $.Site.BaseURL }}" class="footer-link">
|
||||||
{{ with resources.Get "icons/home-page.png" }}
|
{{ with resources.Get "icons/home-page.png" }}
|
||||||
<img class="footer-icon" src="{{ .Permalink }}">
|
<img class="footer-icon" src="{{ .Permalink }}" alt="Home">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</a>
|
</a>
|
||||||
{{ if isset $.Site.Params "github"}}
|
{{ if isset $.Site.Params "github"}}
|
||||||
<a href="{{ $.Site.Params.github }}" class="footer-link">
|
<a href="{{ $.Site.Params.github }}" class="footer-link">
|
||||||
{{ with resources.Get "icons/github.png" }}
|
{{ with resources.Get "icons/github.png" }}
|
||||||
<img class="footer-icon" src="{{ .Permalink }}" />
|
<img class="footer-icon" src="{{ .Permalink }}" alt="GitHub"/>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</a>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if isset $.Site.Params "linkedin"}}
|
{{ if isset $.Site.Params "linkedin"}}
|
||||||
<a href="{{ $.Site.Params.linkedin }}" class="footer-link">
|
<a href="{{ $.Site.Params.linkedin }}" class="footer-link">
|
||||||
{{ with resources.Get "icons/linkedin.png" }}
|
{{ with resources.Get "icons/linkedin.png" }}
|
||||||
<img class="footer-icon" src="{{ .Permalink }}" />
|
<img class="footer-icon" src="{{ .Permalink }}" alt="LinkedIn"/>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</a>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user