!!! Basic
:plain
  <!--
    Licensed to the Apache Software Foundation (ASF) under one or more
    contributor license agreements.  See the NOTICE file distributed with
    this work for additional information regarding copyright ownership.
    The ASF licenses this file to You under the Apache License, Version 2.0
    (the "License"); you may not use this file except in compliance with
    the License.  You may obtain a copy of the License at

         http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    Architecture
  -->
- response.setContentType("text/html") 
-@ var title : String = ""
-@ var body: String = null
-@ var overview: String = null
-@ var spot: String = null
-@ var blog: String = null
-@ var head: String = null
- val include_console = engine.isDevelopmentMode && engine.resourceLoader.exists("/org/fusesource/scalate/console/console_head.scaml")
html(lang="en")
  head
    meta(content="text/html; charset=utf-8" http-equiv="Content-Type")
    meta(content="#{project_description}" name="description")
    meta(content="#{project_keywords}" name="keywords")
    meta(content="#{project_name}" name="author")
    link(type="text/css" rel="stylesheet" href={uri("/styles/impact/css/pygmentize.css")})
    link(type="text/css" rel="stylesheet" href={uri("/styles/impact/css/site.css")})

    - if (head!=null)
      !~~ head

    title= title
  body
    div#navigation
      div.wrapper
        - include("/_navigation.ssp.md")
        
    - if (overview!=null)
      div#overview
        div.wrapper
          -if ( project_logo!=null )  
            div.logo
              img(src="#{uri(project_logo)}" alt="#{project_name} logo")
          div.message
            !~~ overview
            
    - if (spot!=null)
      div#spot
        div.wrapper
          !~~ spot
          
    - if (body!=null)
      div#content
        div.wrapper
          !~~ body
          
    - if (blog!=null)
      div#blog
        div.wrapper
          !~~ blog
          
