Mercurial > hg > Members > nobuyasu > tasks
view app/views/Application/index.html @ 14:ce84c877fee6 draft default tip
modify controllers.Sample class
author | one |
---|---|
date | Tue, 18 Sep 2012 04:28:13 +0900 |
parents | 84e51aafdfed |
children |
line wrap: on
line source
#{extends 'main.html' /} #{set title:'Home' /} #{if frontPost} #{display post:frontPost, as:'home' /} #{if olderPosts.size()} <div class="older-posts"> <h3>Older posts <span class="from">from this blog</span></h3> #{list items:olderPosts, as:'oldPost'} #{display post:oldPost, as:'teaser' /} #{/list} </div> #{/if} #{/if} #{else} <div class="empty"> There is currently nothing to read here. </div> #{/else}