X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=config%2Fdefault.js;h=58ba307926fea8dd9cb0bbbb827b8ca152e90845;hb=refs%2Fheads%2Fmaster;hp=2d3f34e92ba05109dd165e7771b9cad6621bc60f;hpb=f7e70910f579079d04c4cbeff750c8721a51fbe6;p=websub-hub diff --git a/config/default.js b/config/default.js index 2d3f34e..58ba307 100644 --- a/config/default.js +++ b/config/default.js @@ -5,6 +5,10 @@ const { name: packageName, version: packageVersion } = require('../package.json'); const common = require('../src/common'); const Enum = require('../src/enum'); +const roman = require('@squeep/roman'); + +const currentYear = (new Date()).getFullYear(); +const romanYearHTML = roman.toRoman(currentYear, true); const defaultOptions = { // Uniquely identify this instance, used to tag work-in-progress. @@ -51,7 +55,7 @@ const defaultOptions = { logoUrl: 'static/logo.svg', // image to go with title footerEntries: [ // common footers on all html pages 'Development Repository / GitHub mirror', - '©', + `©`, ], publishHistoryDays: 60, // Number of days of update history to show on topic details page strictSecrets: false, // If true, reject requests with secrets but not over https