mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-19 04:55:30 -04:00
move to Netlify with native builds (#12)
This commit is contained in:
21
config.toml
21
config.toml
@@ -16,6 +16,9 @@ pygmentsCodeFences = true
|
||||
|
||||
enableRobotsTXT = true
|
||||
|
||||
# prefer Netlify's _redirects file, see outputs below
|
||||
disableAliases = true
|
||||
|
||||
[author]
|
||||
name = "Jake Jarvis"
|
||||
email = "jake@jarv.is"
|
||||
@@ -32,9 +35,25 @@ enableRobotsTXT = true
|
||||
copyrightFirstYear = "2001"
|
||||
|
||||
[outputs]
|
||||
home = ["HTML", "RSS"]
|
||||
home = ["HTML", "RSS", "REDIRECTS", "HEADERS"]
|
||||
section = ["HTML"]
|
||||
|
||||
[mediaTypes]
|
||||
[mediaTypes."text/netlify"]
|
||||
delimiter = ""
|
||||
|
||||
[outputFormats]
|
||||
[outputFormats.REDIRECTS]
|
||||
mediatype = "text/netlify"
|
||||
baseName = "_redirects"
|
||||
isPlainText = true
|
||||
notAlternative = true
|
||||
[outputFormats.HEADERS]
|
||||
mediatype = "text/netlify"
|
||||
baseName = "_headers"
|
||||
isPlainText = true
|
||||
notAlternative = true
|
||||
|
||||
[sitemap]
|
||||
filename = "sitemap.xml"
|
||||
|
||||
|
Reference in New Issue
Block a user