diff options
author | 2011-03-07 09:04:49 +0100 | |
---|---|---|
committer | 2011-03-07 09:04:49 +0100 | |
commit | 94d2fc1815a919734353c942f224db1de4b4fcb8 (patch) | |
tree | 4168e816ead132bfa3510e272427837c3895f5e2 /emacs.d/nxhtml/tests/in/ch-2008-07-25-test.html.erb | |
parent | d0e7674fdb1de12c8de202d4028a5d7ed3669a6e (diff) | |
download | dotfiles-94d2fc1815a919734353c942f224db1de4b4fcb8.tar.gz dotfiles-94d2fc1815a919734353c942f224db1de4b4fcb8.zip |
Django, org
* Added nxhtml, mostly for django support.
* Changed some org settings.
Diffstat (limited to 'emacs.d/nxhtml/tests/in/ch-2008-07-25-test.html.erb')
-rw-r--r-- | emacs.d/nxhtml/tests/in/ch-2008-07-25-test.html.erb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/emacs.d/nxhtml/tests/in/ch-2008-07-25-test.html.erb b/emacs.d/nxhtml/tests/in/ch-2008-07-25-test.html.erb new file mode 100644 index 0000000..92b76fa --- /dev/null +++ b/emacs.d/nxhtml/tests/in/ch-2008-07-25-test.html.erb @@ -0,0 +1,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>
|