Sha256: eab4a0e0aacb2d39a31cfe597232e4a7a18771cea4a3a534434e7a43c3470b45
Contents?: true
Size: 1.14 KB
Versions: 4
Compression:
Stored size: 1.14 KB
Contents
# Settings for the book which can be called within the book source files # # in book/book.html.erb # # <p><b>Version:</b> <%= @book.epub.version %></p> # # or # # <% if @book.epub.version == '1.0.0' %> # <p>Whew! We made it!</p> # <% end %> title: Cascading Style Sheets subtitle: Designing for the Web isbn: 1234567891011 # ISBN-13 creator: publisher: BlueHead Publishing contributor: 'Håkon Wium Lie and Bert Bos' date: 2012-03-31 type: format: source: language: en relation: coverage: rights: 'Copyright © 2012 Pragmatic Programmers, LLC' subject: BlueHead Publishing # Place the pdf specific settings here. Use whatever you want. # You can use these settings in your source layouts by using a tag # in book.html.erb you could use <%= @book.pdf.title %> pdf: title: Cascading Style Sheets # Place the epub specific settings here. epub: title: Cascading Style Sheets version: 0.1.1 # Place the html specific settings here html: title: Cascading Style Sheets # You can add any additional variables you want # # foo: # bar: foobar # # in book.html.erb you can then use <%= @book.foo.bar %> # --> foobar
Version data entries
4 entries across 4 versions & 1 rubygems