feat(app/metrics): add warnings for embed misconfiguration (closes #1196)
This commit is contained in:
@@ -51,6 +51,7 @@ WARRANTY, to the extent permitted by applicable law.
|
||||
|
||||
Last generated: <%= meta.generated %>
|
||||
</div><% } -%>
|
||||
<% if (warnings.length) { %><div class="warnings"><%- warnings.map(({warning}) => `WARN: ${warning.message}`).join("<br/>") %></div><% } %><%# -%>
|
||||
<% for (const partial of [...partials]) { %><%- await include(`partials/${partial}.ejs`) %><% } -%>
|
||||
<% if (base.metadata) { -%>
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.4 KiB |
@@ -62,6 +62,10 @@
|
||||
.banner, footer {
|
||||
color: #AE9DA7;
|
||||
}
|
||||
.warnings {
|
||||
color: #D79533;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
/* Isocalendar */
|
||||
.isocalendar svg {
|
||||
|
||||
Reference in New Issue
Block a user