Sha256: 722a209cb6c70f32e8a9ffd367d26bfa2b2be78036c74c464ed6fd76d71fc804

Contents?: true

Size: 574 Bytes

Versions: 2

Compression:

Stored size: 574 Bytes

Contents

!!! 5
%html{lang: @site.lang}
  %head
    = haml(File.read('templates/head.html.haml'))
    %link{rel: :stylesheet, href: "stylesheets/default.css", type: "text/css"}
  %body
    %header
      %h1= @title
    - @articles.each do |article|
      %article{id: article.name}
        %header
          %h1= article.title
        = haml(article.data)
    %footer
      %nav
        %ul
          - @site.pages.select{|p| p.visible}.delete_if{|p| p.template == 'blank'}.sort_by{|p| p.name}.each do |p|
            %li
              %a{href: File.join(@site.www, p.name)}= p.title

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
static_cms-0.1.1 data/site_template/templates/default.html.haml
static_cms-0.1.0 data/site_template/templates/default.html.haml