Skip to content

The Headers component theme for Cecil provides support of _headers file generation.

License

Notifications You must be signed in to change notification settings

Cecilapp/theme-headers

Repository files navigation

Headers component theme

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

About

The Headers component theme for Cecil provides support of _headers file generation.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Contributors

Languages