Skip to content

Commit

Permalink
Merge pull request #294 from kyrylkov/master
Browse files Browse the repository at this point in the history
fix HTML5 validation errors
  • Loading branch information
LouisBarranqueiro authored Jul 16, 2016
2 parents b0ab74a + 16b9b18 commit 8bbd676
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions layout/_partial/about.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,21 @@
<% } %>
<h4 id="about-card-name"><%= config.author %></h4>
<% if (__('author.bio')) { %>
<h5 id="about-card-bio"><%- markdown(__('author.bio')) %></h5>
<div id="about-card-bio"><%- markdown(__('author.bio')) %></div>
<% } %>
<% if (__('author.job')) { %>
<h5 id="about-card-job">
<div id="about-card-job">
<i class="fa fa-briefcase"></i>
<br/>
<%- markdown(__('author.job')) %>
</h5>
</div>
<% } %>
<% if (theme.author.location) { %>
<h5 id="about-card-location">
<div id="about-card-location">
<i class="fa fa-map-marker"></i>
<br/>
<%= theme.author.location %>
</h5>
</div>
<% } %>
</div>
</div>
4 changes: 2 additions & 2 deletions layout/_partial/header.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
<% } %>
<header id="header" data-behavior="<%= sidebarBehavior %>">
<i id="btn-open-sidebar" class="fa fa-lg fa-bars"></i>
<h1 class="header-title">
<div class="header-title">
<a class="header-title-link" href="<%- url_for(' ') %>"><%= config.title %></a>
</h1>
</div>
<% if (theme.header && theme.header.right_link) { %>
<% if (theme.header.right_link.url && url_for(theme.header.right_link.url).indexOf(config.url) < 0 && url_for(theme.header.right_link.url).indexOf(':') >= 0) { %>
<a class="<%= (theme.header.right_link.icon ? 'header-right-icon ' : 'header-right-picture ') %><% if (theme.header.right_link.class) { %><%= theme.header.right_link.class %><% } %>"
Expand Down

0 comments on commit 8bbd676

Please sign in to comment.