lib/retter/generator/skel/layouts/entry.html.haml in retter-0.2.2 vs lib/retter/generator/skel/layouts/entry.html.haml in retter-0.2.3
- old
+ new
@@ -4,11 +4,12 @@
- unless entry.lede.empty?
= entry.lede
- entry.articles.each do |article|
- %h1{id: article.id}
- %a{href: article_path(article)}= article.title
+ - if article.actual?
+ %h1{id: article.id}
+ %a{href: article_path(article)}= article.title
= article
.nav
.prev