36 lines
1.4 KiB
XML
36 lines
1.4 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" width="480" height="99999" class="<%= !animated ? 'no-animations' : '' %>">
|
|
|
|
<defs><style><%= fonts %></style></defs>
|
|
|
|
<style>
|
|
<%= style %>
|
|
</style>
|
|
|
|
<foreignObject x="0" y="0" width="100%" height="100%">
|
|
<div xmlns="http://www.w3.org/1999/xhtml" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
|
|
<% if (errors.length) { %>
|
|
<section>
|
|
<div class="row">
|
|
<div class="field error">
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M2.343 13.657A8 8 0 1113.657 2.343 8 8 0 012.343 13.657zM6.03 4.97a.75.75 0 00-1.06 1.06L6.94 8 4.97 9.97a.75.75 0 101.06 1.06L8 9.06l1.97 1.97a.75.75 0 101.06-1.06L9.06 8l1.97-1.97a.75.75 0 10-1.06-1.06L8 6.94 6.03 4.97z"></path></svg>
|
|
<%= errors.map(({error}) => error.message).join(", ") %>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<% } else { %>
|
|
<% for (const partial of [...partials]) { %>
|
|
<%- await include(`partials/${partial}.ejs`) %>
|
|
<% } %>
|
|
<% } %>
|
|
|
|
<% if (base.metadata) { %>
|
|
<footer>
|
|
<span>Last updated <%= new Date().toGMTString() %> with lowlighter/metrics@<%= meta.version %></span>
|
|
</footer>
|
|
<% } %>
|
|
|
|
<div id="metrics-end"></div>
|
|
</div>
|
|
</foreignObject>
|
|
</svg> |