diff options
author | Matthias Lindinger | 2019-08-26 14:55:41 +0200 |
---|---|---|
committer | Matthias Lindinger | 2019-08-26 14:57:44 +0200 |
commit | fe2c8634d330d44da61e57584dba668c135a4b10 (patch) | |
tree | b8c9585693cc71d45c2e4d0d719ade3711d8f0d5 /lib | |
parent | 9c1665ae5bf3cf38210ffd862d10de9b13bfacdd (diff) |
Add link to imprint
Signed-off-by: Matthias Lindinger <m.lindinger@live.de>
Diffstat (limited to '')
-rw-r--r-- | lib/response.js | 1 |
1 files changed, 1 insertions, 0 deletions
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 |