aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/kindle/layout.html.erb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2011-12-24 17:26:18 -0800
committerXavier Noria <fxn@hashref.com>2011-12-24 17:33:18 -0800
commit69cc645c70bdbd4e0a43f176a66197d6b07d1dd7 (patch)
tree7d6f5d62a6230f600eca5cb1dd7226aac1047995 /railties/guides/source/kindle/layout.html.erb
parentbea3524e3f5a56e4dc87ae240a2c58301e73a128 (diff)
downloadrails-69cc645c70bdbd4e0a43f176a66197d6b07d1dd7.tar.gz
rails-69cc645c70bdbd4e0a43f176a66197d6b07d1dd7.tar.bz2
rails-69cc645c70bdbd4e0a43f176a66197d6b07d1dd7.zip
(draft) guides for the Kindle and Kindle apps [Mip Earson & Xavier Noria]
Diffstat (limited to 'railties/guides/source/kindle/layout.html.erb')
-rw-r--r--railties/guides/source/kindle/layout.html.erb27
1 files changed, 27 insertions, 0 deletions
diff --git a/railties/guides/source/kindle/layout.html.erb b/railties/guides/source/kindle/layout.html.erb
new file mode 100644
index 0000000000..f0a286210b
--- /dev/null
+++ b/railties/guides/source/kindle/layout.html.erb
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<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"/>
+
+<title><%= yield(:page_title) || 'Ruby on Rails Guides' %></title>
+
+<link rel="stylesheet" type="text/css" href="stylesheets/kindle.css" />
+
+</head>
+<body class="guide">
+
+ <% if content_for? :header_section %>
+ <%= yield :header_section %>
+ <div class="pagebreak">
+ <% end %>
+
+ <% if content_for? :index_section %>
+ <%= yield :index_section %>
+ <div class="pagebreak">
+ <% end %>
+
+ <%= yield.html_safe %>
+</body>
+</html>