Sha256: ffe451c871a3886d9e9afd7482dfb9aeaef4b3786423ae6975e1b314487cf376

Contents?: true

Size: 1.35 KB

Versions: 3

Compression:

Stored size: 1.35 KB

Contents

!!!
%html{lang: locale}
  %head
    %meta{charset: "UTF-8"}
    - if site.description != "" or !item.description.nil?
      %meta{name: "description", content: (!item.description.nil? ? item.description : site.description)}
    - if site.author != ""
      %meta{name: "author", content: site.author}
    %title= (item.title ? "#{item.title} - " : "") + site.title
    
    %meta{name: "viewport", content: "width=device-width, initial-scale=1"}
    /[if lt IE 9]
      = javascript_link "html5shiv"
    = addons :head
    
  %body{class: [item.id, "lang-#{locale}"]}
    %div.wrapper
      %header
        .title= link_to site.title, site.url
        %p= site.tagline
        
        .below_fold
          .sidebar
            - item.sidebar.each do |item|
              %p= link_to item.title, url_for(item.url)
        
      %section
        = yield
      
      %footer
        %p
          Blog by
          = site.author
        %p
          %small
            - if site.config.disclaimer
              %span.disclaimer= site.config.disclaimer
              %br
            - if site.config.copyright
              %span.copyright= site.config.copyright
              %br
            Powered by #{link_to "Alula", "http://www.alula.in"} —
            Theme by #{link_to "orderedlist", "https://github.com/orderedlist/minimal"}
        = addons :footer
    = addons :body

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
alula-themes-0.4.27 themes/minimal/layouts/default.html.haml
alula-themes-0.4.26 themes/minimal/layouts/default.html.haml
alula-themes-0.4.25 themes/minimal/layouts/default.html.haml