HackMD/public/views
Sheogorath d939de17df
Fix CSP for disqus and Google Analytics
This commit should fix existing problems with Disqus and Google
Analytics enabled in the meta-yaml section of a note.

Before this commit they were blocked by the strict CSP. It's still
possible to disable the added directives using `addDisqus` and
`addGoogleAnalytics` in the `csp` config section.

They are enabled by default to prevent breaking changes.

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-03-30 16:33:52 +02:00
..
hackmd Change config to camel case with backwards compatibility 2018-03-25 19:08:14 +02:00
includes Update to generate front-end constants on server startup 2017-03-20 01:39:09 +08:00
index Reorganize social media links and footer 2018-01-24 14:09:36 +01:00
shared Fix CSP for disqus and Google Analytics 2018-03-30 16:33:52 +02:00
error.ejs Refactor templates and rearrange its path 2017-01-21 13:08:29 +08:00
hackmd.ejs Refactor templates and rearrange its path 2017-01-21 13:08:29 +08:00
html.hbs Fix to implement toggle of TOC in HTML template 2017-05-09 22:11:57 +08:00
index.ejs Refactor templates and rearrange its path 2017-01-21 13:08:29 +08:00
pretty.ejs Merge pull request #598 from xxyy/feature/csp 2018-01-22 20:43:46 +01:00
slide.ejs Upgrade reveal.js to 3.6.0 and useCDN option for CSS include 2018-01-29 13:09:52 +08:00