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
The form definition includes the form fields validation rules, form processors, page to redirect to after a successful submission, and enables the honeypot. The Form API also offers support for POST only forms, aka form endpoints.
Support for CSV files has been added for both data and collections.
Data: CSV files can now be accessed through the data() template function, both locally stored files or URL"s to files that return CSV.
Collections: Support for a CSV format has been added to allow exposing CSV data. For example to expose a list of data add a page called data.csv' and as frontmatter use:
Improves the config handling by moving the bootstrapping into ComPagesConfig and exposing the site path using getSitePath() method.
A new 'headers' config option is also added that allows to defining additional http headers. This can for example be used to setup http security headers.
Additional config options
headers: [array]
The text was updated successfully, but these errors were encountered:
1. Form support #161
Easily implement forms in a page and store the form submissions in csv file, database, log, or a custom location.
The form definition includes the form fields validation rules, form processors, page to redirect to after a successful submission, and enables the honeypot. The Form API also offers support for POST only forms, aka form endpoints.
2. CSV support #160
Support for CSV files has been added for both data and collections.
Data: CSV files can now be accessed through the data() template function, both locally stored files or URL"s to files that return CSV.
Collections: Support for a CSV format has been added to allow exposing CSV data. For example to expose a list of data add a page called data.csv' and as frontmatter use:
3. Refactor config handling #163
Improves the config handling by moving the bootstrapping into ComPagesConfig and exposing the site path using getSitePath() method.
A new 'headers' config option is also added that allows to defining additional http headers. This can for example be used to setup http security headers.
Additional config options
The text was updated successfully, but these errors were encountered: