diff options
author | Sheogorath | 2019-09-02 13:36:43 +0300 |
---|---|---|
committer | GitHub | 2019-09-02 13:36:43 +0300 |
commit | a9b5b754f599307cca5953a8a81f59ebb5553d6a (patch) | |
tree | b8c9585693cc71d45c2e4d0d719ade3711d8f0d5 /lib | |
parent | 9c1665ae5bf3cf38210ffd862d10de9b13bfacdd (diff) | |
parent | fe2c8634d330d44da61e57584dba668c135a4b10 (diff) |
Merge pull request #158 from morpheus-87/add-imprint-link
Add link to imprint
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 |