|
|
@@ -80,6 +80,25 @@ disqusShortname = "yourdiscussshortname"
|
|
|
[params.cloudflare]
|
|
|
token = "token"
|
|
|
|
|
|
+# If you want to implement a Content-Security-Policy, add this section
|
|
|
+[params.csp]
|
|
|
+ childsrc = ["'self'"]
|
|
|
+ fontsrc=["'self'",
|
|
|
+ "https://fonts.gstatic.com",
|
|
|
+ "https://cdn.jsdelivr.net/"]
|
|
|
+ formaction = ["'self'"]
|
|
|
+ framesrc = ["'self'"]
|
|
|
+ imgsrc = ["'self'"]
|
|
|
+ objectsrc = ["'none'"]
|
|
|
+ stylesrc = ["'self'",
|
|
|
+ "'unsafe-inline'",
|
|
|
+ "https://fonts.googleapis.com/",
|
|
|
+ "https://cdn.jsdelivr.net/"]
|
|
|
+ scriptsrc = ["'self'",
|
|
|
+ "'unsafe-inline'",
|
|
|
+ "https://www.google-analytics.com"]
|
|
|
+ prefetchsrc = ["'self'"]
|
|
|
+
|
|
|
[taxonomies]
|
|
|
category = "categories"
|
|
|
series = "series"
|