Sha256: 864b022e1ec77b398fe644cc19760a0b9af0bae9fe2e7c2f8c3b01cbcd06eaf1

Contents?: true

Size: 1.53 KB

Versions: 5

Compression:

Stored size: 1.53 KB

Contents

!!!
%html
  %head
    %title= title
    %meta{:'http-equiv' => 'Content-Type', content: 'text/html', charset: 'utf-8'}
    %meta{name: 'author',  content: config.author}
    %link{rel: 'icon', type: 'image/png', href: '/favicon.png'}
    %link{href: '/stylesheets/base.css', media: 'screen', rel: 'stylesheet', type: 'text/css'}
    %link{href: '/stylesheets/orange.css', media: 'screen', rel: 'stylesheet', type: 'text/css'}
    %link{href: '/stylesheets/pygments.css', media: 'screen', rel: 'stylesheet', type: 'text/css'}
    %link{rel: 'alternate', type: 'application/rss+xml', title: 'RSS', href: '/entries.rss'}
  %body
    %header#header
      %h1
        %a{href: '/'}= config.title
      %nav
        %ul#menu
          %li
            %a{href: '/'} Home
          %li
            %a{href: '/profile.html'} Profile
          %li
            %a{href: '/entries.html'} Archives
          %li
            %a{href: '/entries.rss', target: '_blank'} RSS
    #page
      #content= content
      %aside#sidebar
        %h3 Author
        .author
          %a{href: '/profile.html'}= config.author
        %h3 Recent entries
        .recent-entries
          %ul
            - entries[0..5].each do |entry|
              - entry.articles.each do |article|
                %li
                  %a{href: article_path(article)}= article.title
          .archives
            %a{href: '/entries.html'} Archives
    %footer#footer
      #{config.title} (C) #{config.author}
      Generated by
      %a{href: 'https://github.com/hibariya/retter', target: '_blank'} Retter

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
retter-1.0.0.pre spec/fixtures/sites/site-0.2.5/layouts/retter.html.haml
retter-0.2.5 lib/retter/generator/skel/layouts/retter.html.haml
retter-0.2.4 lib/retter/generator/skel/layouts/retter.html.haml
retter-0.2.3 lib/retter/generator/skel/layouts/retter.html.haml
retter-0.2.2 lib/retter/generator/skel/layouts/retter.html.haml