PageRenderTime 7ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

/samples/scalate-sample-sitegen/src/page.page

http://github.com/scalate/scalate
Visualforce Page | 25 lines | 21 code | 4 blank | 0 comment | 0 complexity | 0d68e6709dacc40e5d3e3b373a309271 MD5 | raw file
 1---
 2title: Page Syntax
 3--- name:head pipeline:plain
 4<style type='text/css'>
 5/* This will go into the header */
 6.footie {
 7  text-align:center; 
 8  position:absolute; 
 9  bottom:0px; 
10  padding:2em;
11}
12</style>
13
14--- name:content
15#### Page Markup
16
17The page syntax allows you to define meta data header and then multiple
18content parts.  The header is in YAML format but if first filtered through ssp.  Each of the content part can be configured with a custom processing
19pipeline. The default pipeline is markdown.
20
21--- name:footer pipeline:jade
22
23.footie 
24  p This is the footer content part.  It's being processed with jade.
25  p Copyright(C) 2011 FuseSource Corp