~joram/joram.io

e57effc2cf15d06469a43651fdcb7e67da11d6cd — Joram Schrijver 3 years ago 03d7574
Add <html lang="en"> to the default template

This should help screen readers determine the right language to use.
1 files changed, 21 insertions(+), 19 deletions(-)

M templates/default.ctml
M templates/default.ctml => templates/default.ctml +21 -19
@@ 1,21 1,23 @@
<!doctype html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="initial-scale=1">
<title><c:splice lquery="(text title)">TITLE</c:splice> - Joram Schrijver</title>
<link rel="stylesheet" type="text/css" href="/style.css" />
<link href="/atom.xml" type="application/atom+xml" rel="alternate" title="Reinventing the Future" />
<html lang="en">
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <meta name="viewport" content="initial-scale=1">
  <title><c:splice lquery="(text title)">TITLE</c:splice> - Joram Schrijver</title>
  <link rel="stylesheet" type="text/css" href="/style.css" />
  <link href="/atom.xml" type="application/atom+xml" rel="alternate" title="Reinventing the Future" />

<div id="pagewrap">
  <section id="header">
    <h1><a href="/">Joram Schrijver</a></h1>
    <nav class="site-navigation">
      <ul>
        <li><a href="/">About</a></li>
        <li><a href="/blog">Blog</a></li>
      </ul>
    </nav>
  </section>
  <section id="content" lquery="(html body)">
    BODY
  </section>
</div>
  <div id="pagewrap">
    <section id="header">
      <h1><a href="/">Joram Schrijver</a></h1>
      <nav class="site-navigation">
        <ul>
          <li><a href="/">About</a></li>
          <li><a href="/blog">Blog</a></li>
        </ul>
      </nav>
    </section>
    <section id="content" lquery="(html body)">
      BODY
    </section>
  </div>
</html>