PageRenderTime 16ms CodeModel.GetById 13ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/scalate-website/src/blog/index.page

http://github.com/scalate/scalate
Visualforce Page | 24 lines | 18 code | 6 blank | 0 comment | 0 complexity | 0cc8e33db2789050bd6ac42e644a48f7 MD5 | raw file
 1---
 2title: The ${project_name} Blog
 3in_menu: false
 4sort_info: 7
 5
 6--- name:head pipeline:ssp
 7<link rel="alternate" title="${project_name} RSS" href="index.rss" type="application/rss+xml">
 8
 9--- name:overview
10
11The latest and greatest news from the ${project_name} team
12
13--- name:blog pipeline:jade
14
15:ssp
16  <h1>${project_name} Blog <a href="index.rss"><img src="${uri("/images/rss.gif")}"/></a></h1>
17
18- import org.fusesource.scalate.page.BlogHelper._
19- for(post <- posts)
20  .post
21    a(href={post.link})
22      h2= post.title
23    .details Posted by #{post.author} on #{post.createdAt}
24    !~~ post.render()