/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. ---
  2. title: 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. --- name:content
  14. #### Page Markup
  15. The page syntax allows you to define meta data header and then multiple
  16. content 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
  17. pipeline. The default pipeline is markdown.
  18. --- name:footer pipeline:jade
  19. .footie
  20. p This is the footer content part. It's being processed with jade.
  21. p Copyright(C) 2011 FuseSource Corp