Remove disqus as it will be replaced with discourse #71

Merged
lafriks merged 2 commits from unknown repository into master 2018-07-13 18:46:33 +00:00
3 changed files with 1 additions and 8 deletions

View File

@ -2,7 +2,6 @@ baseurl: https://blog.gitea.io/
languageCode: en-us
title: Blog
theme: gitea
disqusShortname: gitea
defaultContentLanguage: en-us
defaultContentLanguageInSubdir: true

View File

@ -48,12 +48,6 @@
</div>
{{ end }}
</div>
{{ if .Site.DisqusShortname }}
<div class="col-xs-12">
{{ partial "disqus.html" . }}
</div>
{{ end }}
</div>
</div>

View File

@ -1,5 +1,5 @@
/*
Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline' https://gitea.disqus.com https://c.disquscdn.com https://disqus.com; style-src 'self' https://fonts.googleapis.com https://cdnjs.cloudflare.com https://c.disquscdn.com; font-src 'self' data: https://cdnjs.cloudflare.com https://fonts.gstatic.com; img-src 'self' https://referrer.disqus.com https://c.disquscdn.com; frame-src 'self' https://disqus.com https://disqusads.com
Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline' https://discourse.gitea.io https://discourse-cdn-sjc2.com; style-src 'self' https://fonts.googleapis.com https://cdnjs.cloudflare.com https://discourse-cdn-sjc2.com; font-src 'self' data: https://cdnjs.cloudflare.com https://fonts.gstatic.com; img-src 'self' https://discourse.gitea.io https://discourse-cdn-sjc2.com; frame-src 'self' https://discourse.gitea.io
X-Frame-Options: DENY
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff