update @besties/html2png, refactor templates (bodge no longer needed)
This commit is contained in:
parent
e327883e2e
commit
2e79538d1b
5 changed files with 202 additions and 32 deletions
|
@ -1,15 +1,15 @@
|
|||
<% 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 style="font-size: 42px; font-weight: 500; color: #9A8FA7;"><%= 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 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 style="font-size: 42px; font-weight: 500; color: #9A8FA7;"><%= 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>
|
Loading…
Add table
Add a link
Reference in a new issue