summaryrefslogtreecommitdiffstats
path: root/emacs.d/nxhtml/tests/in/ch-2008-07-25-test.html.erb
blob: 92b76faed8bd1181acddb53184e904666524f813 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<% @meta_keywords ||= nil -%>
<% @meta_description ||= nil -%>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    <% unless @meta_keywords.blank? -%>
      <meta name="keywords" content="<%= @meta_keywords %>" />
    <% end -%>
    <% unless @meta_description.blank? -%>
      <meta name="description" content="<%= @meta_description %>" />
    <% end -%>
    <title><%= @page_title.blank? ? "Mysite" : "#{@page_title} : Mysite" %></title>
    <%= stylesheet_link_tag 'global', 'sem', :media => 'all' %>
  </head>
  <body>
    <div id="shadow">
      <div id="container">

        <div id="main" class="content">
          <%= yield %>
        </div>
        <table>
          This text is in the wrong place, but you have to apply a
          schema to get it marked as invalid.
          <%= yield %>
        </table>

      </div> <%# container %>
    </div> <%# shadow %>
  </body>
  <% if live_site? %>
    <%= render(:partial => 'shared/google_analytics') %>
  <% end %>
</html>