Debian Codegraph @

mqtt-client-website/src/WEB-INF/scalate/layouts/default.jade

raw
1 !!! Basic
2 :plain
3 <!--
4 Licensed to the Apache Software Foundation (ASF) under one or more
5 contributor license agreements. See the NOTICE file distributed with
6 this work for additional information regarding copyright ownership.
7 The ASF licenses this file to You under the Apache License, Version 2.0
8 (the "License"); you may not use this file except in compliance with
9 the License. You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18 Architecture
19 -->
20 - response.setContentType("text/html")
21 -@ var title : String = ""
22 -@ var body: String = null
23 -@ var overview: String = null
24 -@ var spot: String = null
25 -@ var blog: String = null
26 -@ var head: String = null
27 - val include_console = engine.isDevelopmentMode && engine.resourceLoader.exists("/org/fusesource/scalate/console/console_head.scaml")
28 html(lang="en")
29 head
30 meta(content="text/html; charset=utf-8" http-equiv="Content-Type")
31 meta(content="#{project_description}" name="description")
32 meta(content="#{project_keywords}" name="keywords")
33 meta(content="#{project_name}" name="author")
34 link(type="text/css" rel="stylesheet" href={uri("/styles/impact/css/pygmentize.css")})
35 link(type="text/css" rel="stylesheet" href={uri("/styles/impact/css/site.css")})
36
37 - if (head!=null)
38 !~~ head
39
40 title= title
41 body
42 div#navigation
43 div.wrapper
44 - include("/_navigation.ssp.md")
45
46 - if (overview!=null)
47 div#overview
48 div.wrapper
49 -if ( project_logo!=null )
50 div.logo
51 img(src="#{uri(project_logo)}" alt="#{project_name} logo")
52 div.message
53 !~~ overview
54
55 - if (spot!=null)
56 div#spot
57 div.wrapper
58 !~~ spot
59
60 - if (body!=null)
61 div#content
62 div.wrapper
63 !~~ body
64
65 - if (blog!=null)
66 div#blog
67 div.wrapper
68 !~~ blog
69