feat: add print directive allows print sections.

This commit is contained in:
colstuwjx
2021-03-07 09:11:49 +08:00
parent 96b4a51cfe
commit 7bc3a7d809
+1 -1
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]