Sha256: 4fd4042de01d9bef20bb12d59b81367e2b35172abc6c3775510c5f7ff32f7666

Contents?: true

Size: 1003 Bytes

Versions: 5

Compression:

Stored size: 1003 Bytes

Contents

!!!
%html
  %head
    %meta{:charset => "utf-8"}/
    %meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}/
    %title Chaskiq
    / Include style per-controller - vendor plugins
    -#= stylesheet_link_tag params[:controller] if ::Rails.application.assets.find_asset("#{params[:controller]}.css")
    / Main css styles
    = stylesheet_link_tag    'chaskiq/application', media: 'all', 'data-turbolinks-track' => true
    / Main javascript files
    = javascript_include_tag 'chaskiq/application', 'data-turbolinks-track' => true
    = csrf_meta_tags
  %body.gray-bg
    / Main view
    = yield
    / Include javascript per-controller - vendor plugins
    -#= javascript_include_tag params[:controller] if ::Rails.application.assets.find_asset("#{params[:controller]}.js")

    / Include javascript per-view
    / For demo purpose we include javascript in view but you can easily start SeedProject and organize it with Rails asset pipeline as you want
    = yield :javascript

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
chaskiq-0.0.6 app/views/layouts/chaskiq/empty.html.haml
chaskiq-0.0.5 app/views/layouts/chaskiq/empty.html.haml
chaskiq-0.0.4 app/views/layouts/chaskiq/empty.html.haml
chaskiq-0.0.3 app/views/layouts/chaskiq/empty.html.haml
chaskiq-0.0.2 app/views/layouts/chaskiq/empty.html.haml