feat: add print directive allows print sections.

pull/26926/head
colstuwjx 2021-03-07 09:11:49 +08:00
parent 96b4a51cfe
commit 7bc3a7d809
No known key found for this signature in database
GPG Key ID: 517434B9F6B71836
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ blog = "/:section/:year/:month/:day/:slug/"
[outputs]
home = [ "HTML", "RSS", "HEADERS" ]
page = [ "HTML"]
section = [ "HTML"]
section = [ "HTML", "print" ]
# Add a "text/netlify" media type for auto-generating the _headers file
[mediaTypes]