Merge pull request #207 from marksuth/master
Improve alt tag accessibility
This commit is contained in:
commit
cd4563935a
|
@ -7,7 +7,7 @@
|
||||||
{{#author}}
|
{{#author}}
|
||||||
<header class="main-header author-head {{#if cover}}" style="background-image: url({{cover}}){{else}}no-cover{{/if}}">
|
<header class="main-header author-head {{#if cover}}" style="background-image: url({{cover}}){{else}}no-cover{{/if}}">
|
||||||
<nav class="main-nav overlay clearfix">
|
<nav class="main-nav overlay clearfix">
|
||||||
{{#if @blog.logo}}<a class="blog-logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="Blog Logo" /></a>{{/if}}
|
{{#if @blog.logo}}<a class="blog-logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="{{@blog.title}}" /></a>{{/if}}
|
||||||
{{#if @blog.navigation}}
|
{{#if @blog.navigation}}
|
||||||
<a class="menu-button icon-menu" href="#"><span class="word">Menu</span></a>
|
<a class="menu-button icon-menu" href="#"><span class="word">Menu</span></a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
{{! The big featured header }}
|
{{! The big featured header }}
|
||||||
<header class="main-header {{#if @blog.cover}}" style="background-image: url({{@blog.cover}}){{else}}no-cover{{/if}}">
|
<header class="main-header {{#if @blog.cover}}" style="background-image: url({{@blog.cover}}){{else}}no-cover{{/if}}">
|
||||||
<nav class="main-nav overlay clearfix">
|
<nav class="main-nav overlay clearfix">
|
||||||
{{#if @blog.logo}}<a class="blog-logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="Blog Logo" /></a>{{/if}}
|
{{#if @blog.logo}}<a class="blog-logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="{{@blog.title}}" /></a>{{/if}}
|
||||||
{{#if @blog.navigation}}
|
{{#if @blog.navigation}}
|
||||||
<a class="menu-button icon-menu" href="#"><span class="word">Menu</span></a>
|
<a class="menu-button icon-menu" href="#"><span class="word">Menu</span></a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
2
page.hbs
2
page.hbs
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
<header class="main-header post-head {{#if image}}" style="background-image: url({{image}}){{else}}no-cover{{/if}}">
|
<header class="main-header post-head {{#if image}}" style="background-image: url({{image}}){{else}}no-cover{{/if}}">
|
||||||
<nav class="main-nav {{#if image}}overlay{{/if}} clearfix">
|
<nav class="main-nav {{#if image}}overlay{{/if}} clearfix">
|
||||||
{{#if @blog.logo}}<a class="blog-logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="Blog Logo" /></a>{{/if}}
|
{{#if @blog.logo}}<a class="blog-logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="{{@blog.title}}" /></a>{{/if}}
|
||||||
{{#if @blog.navigation}}
|
{{#if @blog.navigation}}
|
||||||
<a class="menu-button icon-menu" href="#"><span class="word">Menu</span></a>
|
<a class="menu-button icon-menu" href="#"><span class="word">Menu</span></a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<p>{{excerpt words="26"}} <a class="read-more" href="{{url}}">»</a></p>
|
<p>{{excerpt words="26"}} <a class="read-more" href="{{url}}">»</a></p>
|
||||||
</section>
|
</section>
|
||||||
<footer class="post-meta">
|
<footer class="post-meta">
|
||||||
{{#if author.image}}<img class="author-thumb" src="{{author.image}}" alt="Author image" nopin="nopin" />{{/if}}
|
{{#if author.image}}<img class="author-thumb" src="{{author.image}}" alt="{{author.name}}" nopin="nopin" />{{/if}}
|
||||||
{{author}}
|
{{author}}
|
||||||
{{tags prefix=" on "}}
|
{{tags prefix=" on "}}
|
||||||
<time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMMM YYYY"}}</time>
|
<time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMMM YYYY"}}</time>
|
||||||
|
|
2
post.hbs
2
post.hbs
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
<header class="main-header post-head {{#if image}}" style="background-image: url({{image}}){{else}}no-cover{{/if}}">
|
<header class="main-header post-head {{#if image}}" style="background-image: url({{image}}){{else}}no-cover{{/if}}">
|
||||||
<nav class="main-nav {{#if image}}overlay{{/if}} clearfix">
|
<nav class="main-nav {{#if image}}overlay{{/if}} clearfix">
|
||||||
{{#if @blog.logo}}<a class="blog-logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="Blog Logo" /></a>{{/if}}
|
{{#if @blog.logo}}<a class="blog-logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="{{@blog.title}}" /></a>{{/if}}
|
||||||
{{#if @blog.navigation}}
|
{{#if @blog.navigation}}
|
||||||
<a class="menu-button icon-menu" href="#"><span class="word">Menu</span></a>
|
<a class="menu-button icon-menu" href="#"><span class="word">Menu</span></a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
2
tag.hbs
2
tag.hbs
|
@ -4,7 +4,7 @@
|
||||||
{{! If we have a tag cover, display that - else blog cover - else nothing }}
|
{{! If we have a tag cover, display that - else blog cover - else nothing }}
|
||||||
<header class="main-header tag-head {{#if tag.image}}" style="background-image: url({{tag.image}}){{else}}{{#if @blog.cover}}" style="background-image: url({{@blog.cover}}){{else}}no-cover{{/if}}{{/if}}">
|
<header class="main-header tag-head {{#if tag.image}}" style="background-image: url({{tag.image}}){{else}}{{#if @blog.cover}}" style="background-image: url({{@blog.cover}}){{else}}no-cover{{/if}}{{/if}}">
|
||||||
<nav class="main-nav overlay clearfix">
|
<nav class="main-nav overlay clearfix">
|
||||||
{{#if @blog.logo}}<a class="blog-logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="Blog Logo" /></a>{{/if}}
|
{{#if @blog.logo}}<a class="blog-logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="{{@blog.title}}" /></a>{{/if}}
|
||||||
{{#if @blog.navigation}}
|
{{#if @blog.navigation}}
|
||||||
<a class="menu-button icon-menu" href="#"><span class="word">Menu</span></a>
|
<a class="menu-button icon-menu" href="#"><span class="word">Menu</span></a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
Loading…
Reference in New Issue