From fe2c8634d330d44da61e57584dba668c135a4b10 Mon Sep 17 00:00:00 2001 From: Matthias Lindinger Date: Mon, 26 Aug 2019 14:55:41 +0200 Subject: Add link to imprint Signed-off-by: Matthias Lindinger --- lib/response.js | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/response.js b/lib/response.js index 1313f9f4..6450bdf5 100644 --- a/lib/response.js +++ b/lib/response.js @@ -70,6 +70,7 @@ function showIndex (req, res, next) { signin: authStatus, infoMessage: req.flash('info'), errorMessage: req.flash('error'), + imprint: fs.existsSync(path.join(config.docsPath, 'imprint.md')), privacyStatement: fs.existsSync(path.join(config.docsPath, 'privacy.md')), termsOfUse: fs.existsSync(path.join(config.docsPath, 'terms-of-use.md')), deleteToken: deleteToken -- cgit v1.2.3