X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=src%2Ftemplate%2Ftemplate-helper.js;h=f36829d7bd1f9bd0eeb7adfe9daf956babce954f;hb=refs%2Ftags%2Fv1.1.4;hp=57a3f50e32190cbf9ac42edef9550cdd4d8d0f51;hpb=9696c012e6b9a6c58904baa397ca0ebf78112316;p=websub-hub
diff --git a/src/template/template-helper.js b/src/template/template-helper.js
index 57a3f50..f36829d 100644
--- a/src/template/template-helper.js
+++ b/src/template/template-helper.js
@@ -30,7 +30,7 @@ const dateOrNot = (date, otherwise) => {
* @param {Number} seconds
* @returns {String}
*/
- const secondsToPeriod = (seconds) => {
+const secondsToPeriod = (seconds) => {
let value = seconds;
const result = [];
@@ -212,7 +212,7 @@ function htmlHeader(pageTitle, navLinks = []) {
${navLinks.map((l) => renderNavLink(l)).join('\n')}
`
- : '') + `
+ : '') + `
`;
@@ -221,20 +221,16 @@ function htmlHeader(pageTitle, navLinks = []) {
/**
* Close the main section and finish off with boilerplate.
+ * @param {String[]} footerEntries
* @returns {String}
*/
-function htmlFooter() {
+function htmlFooter(footerEntries = []) {
return `
-