summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorSheogorath2018-05-23 01:14:52 +0200
committerSheogorath2018-05-24 18:10:36 +0200
commit41a36e2e1877b4a2ab6751c011e80582f8ccbcf2 (patch)
treed96cfb0701143d824da6b5310435885e917d64b7 /public
parent7a91d01830f739d48eb1cb716f32372fd7cf7f68 (diff)
Add privacy and ToS links
To be GDPR compliant we need to provide privacy statement. These should be linked on the index page. So as soon as a document exist under `public/docs/privacy.md` the link will show up. Since we already add legal links, we also add Terms of Use, which will show up as soon as `public/docs/terms-of-use.md` exists. This should allow everyone to provide the legal documents they need for GDPR and other privacy and business laws. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to '')
-rw-r--r--public/views/index/body.ejs2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/views/index/body.ejs b/public/views/index/body.ejs
index d8766fec..e3a3a85c 100644
--- a/public/views/index/body.ejs
+++ b/public/views/index/body.ejs
@@ -147,7 +147,7 @@
<option value="da">dansk</option>
</select>
<p>
- &copy; 2018 <a href="https://hackmd.io">HackMD</a> | <a href="<%- url %>/s/release-notes" target="_blank"><%= __('Releases') %></a>
+ &copy; 2018 <a href="https://hackmd.io">HackMD</a> | <a href="<%- url %>/s/release-notes" target="_blank"><%= __('Releases') %></a><% if(privacyStatement) { %> | <a href="<%- url %>/s/privacy" target="_blank"><%= __('Privacy') %></a><% } %><% if(termsOfUse) { %> | <a href="<%- url %>/s/terms-of-use" target="_blank"><%= __('Terms of Use') %></a><% } %>
</p>
<h6 class="social-foot">
<%- __('Follow us on %s and %s.', '<a href="https://github.com/hackmdio/HackMD" target="_blank"><i class="fa fa-github"></i> GitHub</a>, <a href="https://twitter.com/hackmdio" target="_blank"><i class="fa fa-twitter"></i> Twitter</a>', '<a href="https://www.facebook.com/hackmdio" target="_blank"><i class="fa fa-facebook-square"></i> Facebook</a>') %>