Sha256: 31e809712a0c1063852b923d8bc39efae1a7c61c7033a2790fb76bc55446b06f

Contents?: true

Size: 1.27 KB

Versions: 1

Compression:

Stored size: 1.27 KB

Contents

<!--?xml version="1.0" encoding="iso-8859-1"?-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
	<meta name="pdfkit-orientation" content="Portrait" />
	<meta name="pdfkit-page_height" content="9in" />
	<meta name="pdfkit-page_width" content="6in" />
	<title>how-to bookshop</title>
	<link rel="stylesheet" type="text/css" href="assets/css/stylesheet.<%= @output %>.css" />
	<% if @output != :pdf %>
		<link rel="stylesheet" type="application/vnd.adobe-page-template+xml" href="assets/css/page-template.xpgt"/>
	<% end %>
</head>
<body>
<p><a name="title">New Title:</a> 
	<% if @output == :html %>
		<%= @book.html.title %>
	<% elsif @output == :pdf %>
		<%= @book.pdf.title %>
	<% elsif @output == :epub %>
		<%= @book.epub.title %>
	<% end %></p>
<p>Subtitle: <%= @book.subtitle %></p>
<p>ISBN: <%= @book.isbn %></p>


<%= import('cover.html.erb')%>
<%= import('toc.html.erb')%>
<%= import('preface.html.erb')%>

<!-- Chapter 01 has additional imports included inside of it -->
<%= import('ch01/ch01.html.erb')%>

<!-- Chapter 01 has additional imports included inside of it -->
<%= import('ch02/ch02.html.erb')%>

</body></html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bookshop-0.0.22 lib/bookshop/generators/bookshop/app/templates/book/book.html.erb