feat(templates/repository, templates/terminal): additional support (#660)

This commit is contained in:
Simon Lecoq
2021-11-12 21:01:11 -05:00
committed by GitHub
parent ecdbf072de
commit 1225c698ec
10 changed files with 216 additions and 4 deletions

View File

@@ -0,0 +1,4 @@
<% if (plugins.screenshot) { %>
<div class="stdin"><%- meta.$ %> wget <%= plugins.screenshot.url %></div><%# -%>
<div class="stdout"><%# -%><img class="screenshot autosize" src="<%= plugins.screenshot.image %>" height="<%= plugins.screenshot.height %>" width="<%= plugins.screenshot.width %>" alt=""/></div>
<% } %>