# HG changeset patch # User Yasutaka Higa # Date 1470286867 -32400 # Node ID b8d87f2bb55c421b509c356b0578ba60656dc837 # Parent e5301b055ceac8f5b369c820dd574220acdf37e2 Support pdf generation diff -r e5301b055cea -r b8d87f2bb55c s6cr.txt --- a/s6cr.txt Thu Aug 04 13:27:27 2016 +0900 +++ b/s6cr.txt Thu Aug 04 14:01:07 2016 +0900 @@ -1,6 +1,7 @@ # S6 blank template package manifest -__file__.html slides.html.erb +__file__.html slides.html.erb +__file__.pdf.html slides.pdf.html.erb # styles diff -r e5301b055cea -r b8d87f2bb55c slides.pdf.html.erb --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slides.pdf.html.erb Thu Aug 04 14:01:07 2016 +0900 @@ -0,0 +1,73 @@ + + + + + <%= @headers['title'] %> + + + + + + + + + + + + + + + + + + + + + + + + +<%= content_for :head %> + + + + +
+ + +
+ +
+ +
+ + + + + + + +
+
+

<%= @headers['title'] %>

+
+
+
+ <%= @headers['author'] %> + <%= @headers['profile'] %> +
+
+
+
+ +<%= @content %> + +
+ +