Sha256: 132eb495d3ff1f375e3b5d39f9574e8e8844d539e5f12c48fd9888a577074262

Contents?: true

Size: 600 Bytes

Versions: 4

Compression:

Stored size: 600 Bytes

Contents

!!! html
%html
  %head
    - if @stylesheets.nil? || @stylesheets.empty?
      %link{:href => '/patricia.css', :rel => 'stylesheet', :type => 'text/css'}
    - else
      - @stylesheets.each do |path|
        %link{:href => "#{path}", :rel => 'stylesheet', :type => 'text/css'}
    %meta{:charset => 'utf-8'}
    %base{:href => '/', :target => '_self'}
  %body

    = yield
    - if @javascripts.nil? || @javascripts.empty?
      %script{:type => 'text/javascript', :src => '/patricia.js'}
    - else
      - @javascripts.each do |path|
        %script{:type => 'text/javascript', :src => "#{path}"}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
patricia-0.1.3 lib/patricia/views/application.haml
patricia-0.1.2 lib/patricia/views/application.haml
patricia-0.1.1 lib/patricia/views/application.haml
patricia-0.0.1 lib/patricia/views/application.haml