Sha256: c9f56f42857b08f5e1d58bebd5753008d388baa05b7910d70cd3c1f6882359c2

Contents?: true

Size: 1.34 KB

Versions: 1

Compression:

Stored size: 1.34 KB

Contents

!!! XML
!!! 1.1
%html{"xml:lang" => "ja", :xmlns => "http://www.w3.org/1999/xhtml"}
  =# render_plugin_hook(:before_header, self)
  %head
    %meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
    %meta{:content => "text/javascript", "http-equiv" => "Content-Script-Type"}/
    %meta{:category => "ruby; setup"}/
    %link{:rel => "stylesheet", :type => "text/css", :href => config[:css] || "stylesheets/pipin.css"}/
    %link{:rel => "alternate", :type => "application/rss+xml", :title => "RSS", :href => "#{config[:base_url]}/rss"}/
    %title&= @title || config[:title] 
  %body
    .header
      %h1&= config[:title]
      .description= config[:description]
      .menus
        %a{:href => './'} Latest
        %a{:href => './archives' + html_extname} Archives
        %a{:href => './about' + html_extname} About
    .main
      =# render_plugin_hook(:flavour_header, self)
      .content
        .before_content=# render_plugin_hook(:before_content, self)
        != yield
        .before_content=# render_plugin_hook(:after_content, self)
      =# render_plugin_hook(:flavour_footer, self)
    .footer
      .sitemap
        %a{:href => 'sitemap' + html_extname} Sitemap
      %a{:href => 'https://github.com/dan5/pipin'} Pipin
      &= Pipin::VERSION
      on
      %a{:href => 'http://www.ruby-lang.org/'} Ruby
      &= RUBY_VERSION

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pipin-0.3.2 lib/pipin/views/layout.haml