Sha256: 7386dba26239ec77eef2214404abbe436f6b1e45f3cf8a7e1862a6dd666f3608

Contents?: true

Size: 936 Bytes

Versions: 2

Compression:

Stored size: 936 Bytes

Contents

!!!
%html
  %head
    %meta{:'http-equiv' => 'Content-Type', :content => 'text/html; charset=utf-8'}
    %title AppName
    -# = favicon_link_tag('/assets/favicon.ico')
    = stylesheet_link_tag 'application'
  - %w[.scss .css.scss .css].each do |ext|
    - if File.exists?(Rails.root.to_s + "/app/assets/stylesheets/controllers/#{ params[:controller] + ext }")
      = stylesheet_link_tag "controllers/#{params[:controller]}"
      - break


  %body(class = "#{params[:controller].tr('/', '-')}-controller #{params[:action]}-view #{I18n.locale}-locale")
    = javascript_include_tag 'lib/js_check'
    #body_wrap
      #content_wrap
        #header
          Header
        #content= yield
      #footer
        Footer

    = javascript_include_tag 'application'
    - if File.exists? Rails.root.to_s + "/app/assets/javascripts/controllers/#{params[:controller]}.js"
      = javascript_include_tag "controllers/#{params[:controller]}"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
releaf-0.1.2 lib/generators/releaf/templates/views/layouts/application.html.haml
releaf-0.1.1 lib/generators/releaf/templates/views/layouts/application.html.haml