Commit cc937962 authored by Evaryont's avatar Evaryont

fix some HTML5 validation errors

parent 2d8eedef
# Originally written by @timurvafin in 2013
# Originally written by @timurvafin in 2013. License unknown.
# https://github.com/timurvafin/timurv.ru/blob/master/lib/tag_cloud.rb
class TagCloud
cattr_accessor :default_options
......
......@@ -16,7 +16,7 @@ title: Automated by soda and scripts
<% end %>
<img role='banner' class='avatar' alt='My avatar' title='My avatar' src="https://secure.gravatar.com/avatar/efb9a1ec42adeec9615f062e55bf5c3e?size=256" />
<span class='nav' role='navigation'>
<div class='nav' role='navigation'>
<ul>
<% data.elsewhere.sites.each do |site| %>
<li>
......@@ -25,14 +25,14 @@ title: Automated by soda and scripts
<% end %>
</ul>
<%= link_to "More &raquo;", 'more.html', class: 'more-sites' %>
</span>
</div>
<!--
IndieAuth requires the root page link to every site, but they don't
necessarily need to be visible to end-users. This list is visible in the
'more' page anyways.
-->
<div class='hidden' hidden aria-hidden="true">
<div class='hidden' hidden>
<% data.elsewhere.sites.each do |site| %>
<a href='<%= site.url %>' rel='me'><%= site.name %></a>
<% end %>
......
......@@ -2,7 +2,7 @@
<html lang="<%= data.site.lang %>">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta http-equiv='X-UA-Compatible' content='IE=edge;chrome=1' />
<meta http-equiv='X-UA-Compatible' content='IE=edge' />
<title><%= data.site.title %> - <%= current_resource.data.title %></title>
<%= feed_tag :atom, "#{blog.options.prefix.to_s}/feed.xml", title: "Atom Feed" %>
<link rel="alternate" title="Json Feed" type="application/json" href="<%= URI.join(data.site.url, "/feed.json") %>" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment