aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/kindle/layout.html.erb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafael.franca@plataformatec.com.br>2012-10-17 10:15:55 -0300
committerRafael Mendonça França <rafael.franca@plataformatec.com.br>2012-10-17 10:15:55 -0300
commit9eeb00976d4b0a963c58117b46b7a5c6edcacc31 (patch)
tree346eea8cf06a5ff5a8b821ffcbb60284f5e6cc27 /guides/source/kindle/layout.html.erb
parent701bd838c5b9f71b41632f198ed440723cb477a3 (diff)
downloadrails-9eeb00976d4b0a963c58117b46b7a5c6edcacc31.tar.gz
rails-9eeb00976d4b0a963c58117b46b7a5c6edcacc31.tar.bz2
rails-9eeb00976d4b0a963c58117b46b7a5c6edcacc31.zip
Revert "divided into folder with the language"
This reverts commit f5b9ed4fbc3215a5fce48985ea372ad3f1182252. REASON: Translation work can not be done in the docrails repository
Diffstat (limited to 'guides/source/kindle/layout.html.erb')
-rw-r--r--guides/source/kindle/layout.html.erb27
1 files changed, 27 insertions, 0 deletions
diff --git a/guides/source/kindle/layout.html.erb b/guides/source/kindle/layout.html.erb
new file mode 100644
index 0000000000..f0a286210b
--- /dev/null
+++ b/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>