Sha256: b849e4af907cd211d8b6aa107b15658bcc786d3c4d53b4b2cab01c0b943ebb5e

Contents?: true

Size: 535 Bytes

Versions: 5

Compression:

Stored size: 535 Bytes

Contents

#entries.autopagerize_page_element
  - recent_entries = entries[0..4]
  - recent_entries.each do |entry|
    %article
      %h1.date
        %a{href: entry_path(entry)}= entry.date

      - unless entry.lede.empty?
        = entry.lede

      - entry.articles.each do |article|
        %h1{id: article.id}
          %a{href: article_path(article)}= article.title
        = article

  .nav
    .next
      - if next_entry = recent_entries.last.next
        %link{href: entry_path(next_entry), rel: :next}

  .autopagerize_insert_before

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
retter-0.2.1 lib/retter/generator/skel/layouts/index.html.haml
retter-0.2.0 lib/retter/generator/skel/layouts/index.html.haml
retter-0.1.3 lib/retter/generator/skel/layouts/index.html.haml
retter-0.1.2 lib/retter/generator/skel/layouts/index.html.haml
retter-0.1.1 lib/retter/generator/skel/layouts/index.html.haml