cecil / theme-headers
Cecil component theme Headers
Fund package maintenance!
ArnaudLigny
Open Collective
Installs: 32
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Language:Twig
Type:cecil-theme
Requires
- cecil/theme-installer: ^1.4|^2.0
README
The Headers component theme for Cecil provides support of _headers
file generation.
After installation and without any configuration, this component theme generate a _headers
file containing HTTP headers created by Cecil (generated from headers' configuration
).
Services that support the _headers
file:
Installation
composer require cecil/theme-headers
Or download the latest archive and uncompress its content in
themes/headers
.
Usage
Add headers
in the theme
section of your site configuration:
theme: - headers
Add headers
server: headers: - path: <path> # Relative path, prefixed with a slash. Support "*" wildcard. headers: - key: <key> value: "<value>"
Documentation: https://cecil.app/documentation/configuration/#server-headers