Debian Codegraph @

jansi-website/src/blog/index.page

raw
1 ---
2 # Copyright (C) 2009-2017 the original author(s).
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 # http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15
16 title: The ${project_name} Blog
17 in_menu: false
18 sort_info: 7
19
20 --- name:head pipeline:ssp
21 <link rel="alternate" title="${project_name} RSS" href="index.rss" type="application/rss+xml">
22
23 --- name:overview
24
25 The latest and greatest news from the ${project_name} team
26
27 --- name:blog pipeline:jade
28
29 :ssp
30 <h1>${project_name} Blog <a href="index.rss"><img src="${uri("/images/rss.gif")}"/></a></h1>
31
32 - import org.fusesource.scalate.page.BlogHelper._
33 - for(post <- posts)
34 .post
35 a(href={post.link})
36 h2= post.title
37 .details Posted by #{post.author} on #{post.createdAt}
38 !~~ post.render()