summaryrefslogtreecommitdiff
path: root/cgithub/views/repo.eta
blob: 0b345dfef287394d84ca0506c6bb3158a691659b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<% layout("./layout") %>

<% if (it.info) { %>
  <div class="repo-info">
    <% if (it.info.description) { %>
      <div class="description"><%= it.info.description %></div>
    <% } %>
    <% if (it.info.website) { %>
      <div><a href="<%= it.info.website %>" rel="noopener noreferrer"><%= it.info.website %></a></div>
    <% } %>
    <% if (it.info.stars) { %>
      <span>★ <%= it.info.stars %></span>
    <% } %>
    <% if (it.info.watchers) { %>
      <span>👁 <%= it.info.watchers %></span>
    <% } %>
    <% if (it.info.forks) { %>
      <span>🔀 <%= it.info.forks %></span>
    <% } %>
  </div>
<% } %>

<%~ include("./_tree", it) %>