summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSheogorath2019-09-02 13:36:43 +0300
committerGitHub2019-09-02 13:36:43 +0300
commita9b5b754f599307cca5953a8a81f59ebb5553d6a (patch)
treeb8c9585693cc71d45c2e4d0d719ade3711d8f0d5 /lib
parent9c1665ae5bf3cf38210ffd862d10de9b13bfacdd (diff)
parentfe2c8634d330d44da61e57584dba668c135a4b10 (diff)
Merge pull request #158 from morpheus-87/add-imprint-link
Add link to imprint
Diffstat (limited to 'lib')
-rw-r--r--lib/response.js1
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