You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes we've got files that we want to process as content including processing front matter, but we don't want to actually render anything in the body. There's currently no good way to handle this. Add a .statiq extension and corresponding media type and template.
Basically we want to be able to pass this check for files that don't need to be rendered by an actual template:
It's assumed that most files with a .statiq extension would also have a DestinationPath set since we likely don't actually want to output the .statiq extension. Perhaps .statiq extensions should even be removed by default (I.e. foo.txt.statiq would get an automatic output path of foo.txt and foo.statiq would become foo). Make sure to document this.
Also see if we can't modify the default InputFiles globbing pattern to include underscore files with a .statiq extension. That way, a file like _redirects.statiq would automatically be included, get processed, and output to _redirects.
These files should default to ContentType.Asset unless an alternate ContentType is specified in front matter.
The text was updated successfully, but these errors were encountered:
Sometimes we've got files that we want to process as content including processing front matter, but we don't want to actually render anything in the body. There's currently no good way to handle this. Add a
.statiq
extension and corresponding media type and template.Basically we want to be able to pass this check for files that don't need to be rendered by an actual template:
It's assumed that most files with a
.statiq
extension would also have aDestinationPath
set since we likely don't actually want to output the.statiq
extension. Perhaps.statiq
extensions should even be removed by default (I.e.foo.txt.statiq
would get an automatic output path offoo.txt
andfoo.statiq
would becomefoo
). Make sure to document this.Also see if we can't modify the default
InputFiles
globbing pattern to include underscore files with a.statiq
extension. That way, a file like_redirects.statiq
would automatically be included, get processed, and output to_redirects
.These files should default to
ContentType.Asset
unless an alternateContentType
is specified in front matter.The text was updated successfully, but these errors were encountered: