diff --git a/source/templates/classic/partials/languages.ejs b/source/templates/classic/partials/languages.ejs index 615e3366..0a5a77cf 100644 --- a/source/templates/classic/partials/languages.ejs +++ b/source/templates/classic/partials/languages.ejs @@ -36,7 +36,7 @@
<% for (const row of rows) { %>
- <% for (const {name, value, lines, color, size} of languages.filter((_, i) => i%rows.length === row)) { %> + <% for (const {name, value, lines = 0, color, size} of languages.filter((_, i) => i%rows.length === row)) { %>
" fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8z"> diff --git a/source/templates/repository/partials/languages.ejs b/source/templates/repository/partials/languages.ejs index 615e3366..0a5a77cf 100644 --- a/source/templates/repository/partials/languages.ejs +++ b/source/templates/repository/partials/languages.ejs @@ -36,7 +36,7 @@
<% for (const row of rows) { %>
- <% for (const {name, value, lines, color, size} of languages.filter((_, i) => i%rows.length === row)) { %> + <% for (const {name, value, lines = 0, color, size} of languages.filter((_, i) => i%rows.length === row)) { %>
" fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8z">