og/views/repo.eta

15 lines
528 B
Text

<% layout('layout') %>
<div class="main repo">
<div class="contents">
<div class="info">
<p class="author"><span><%= it.repo.owner.full_name %></span><span class="username">@<%= it.repo.owner.login %></span></p>
<p class="repo-name"><%= it.repo.name %></p>
<% if (it.repo.description) { %>
<p class="description"><%= it.repo.description %></p>
<% } %>
</div>
<div class="graphics">
<img width="120" height="120" src="<%= it.repo.avatar_url || it.repo.owner.avatar_url %>"></img>
</div>
</div>
</div>