extends _layout
block container
  div(style='column-width:600px;')
    for repo in repos
      .div(style='margin: 0 1em 1em 0;').clearfix
        h2
          a(href='/#{repo.user.username}/#{repo.name}/')=repo.name
          .pull-left
            img.img-rounded.img-polaroid(src=gravatar.url(repo.headAuthorEmail, {s: 80}),style='margin: .5em .5em 0;')
        p 最近更新： #{moment(repo.time).format('MM-DD HH:mm:SS')} (#{moment(repo.time).fromNow()})
        p
          |#{repo.headAuthorName} &lt;
          a(href='mailto:#{repo.headAuthorEmail}')=repo.headAuthorEmail
          |&gt;