initial commit
[emacs-init.git] / nxhtml / tests / in / ch-2008-07-25-test.html.erb
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <% @meta_keywords ||= nil -%>
4 <% @meta_description ||= nil -%>
5
6 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7   <head>
8     <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
9     <% unless @meta_keywords.blank? -%>
10       <meta name="keywords" content="<%= @meta_keywords %>" />
11     <% end -%>
12     <% unless @meta_description.blank? -%>
13       <meta name="description" content="<%= @meta_description %>" />
14     <% end -%>
15     <title><%= @page_title.blank? ? "Mysite" : "#{@page_title} : Mysite" %></title>
16     <%= stylesheet_link_tag 'global', 'sem', :media => 'all' %>
17   </head>
18   <body>
19     <div id="shadow">
20       <div id="container">
21
22         <div id="main" class="content">
23           <%= yield %>
24         </div>
25         <table>
26           This text is in the wrong place, but you have to apply a
27           schema to get it marked as invalid.
28           <%= yield %>
29         </table>
30
31       </div> <%# container %>
32     </div> <%# shadow %>
33   </body>
34   <% if live_site? %>
35     <%= render(:partial => 'shared/google_analytics') %>
36   <% end %>
37 </html>