extends template_raj

block content
    .container#top
        .inner
            .hero
                h1 garrettmills
            section#recent
                h2 posts & updates
                .button-links
                    a.button-small(href='/feed/rss.xml') rss
                    a.button-small(href='/feed/atom.xml') atom
                    a.button-small(href='/feed/json.json') json
                each item in feedPosts
                    .feed-item
                        .feed-category(id=item.feedPostId)
                            .tag #{item.tag}
                        span
                            if !item.visible
                                p.text (draft)
                            p.text !{item.body}
                        .bottom
                            .stamp <a href="#{named('feed')}##{item.feedPostId}" class="feed-edit-button">permalink</a>&nbsp;&nbsp;|&nbsp;&nbsp;#{item.postedAt.toLocaleString()}
