Skip to content
Permalink
Browse files

Add netlify _headers file for custom headers

  • Loading branch information...
decke committed May 24, 2019
1 parent 25341b5 commit b1135379b48fc6e99b67d4b300e14b9cd24599f4
Showing with 20 additions and 0 deletions.
  1. +15 −0 config.toml
  2. +5 −0 layouts/index.headers
@@ -46,3 +46,18 @@ pygmentsStyle = "native"
[params.logo]
url = "bluelife_logo.png"
alt = "Logo"

[mediaTypes]
[mediaTypes."text/netlify"]
suffixes = []
delimiter = ""

[outputs]
home = [ "HTML", "RSS", "HEADERS" ]

[outputFormats]
[outputFormats.HEADERS]
mediatype = "text/netlify"
baseName = "_headers"
isPlainText = true
notAlternative = true
@@ -0,0 +1,5 @@
/*
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: origin-when-cross-origin

0 comments on commit b113537

Please sign in to comment.
You can’t perform that action at this time.