Community Plugin
View plugin on GitHubgatsby-plugin-sectxt
Gatsby plugin to create security.txt with sectxt
References:
Installation
yarn add gatsby-plugin-sectxt
Usage
// gatsby-config.js
module.exports = {
/* Your site config here */
plugins: [
{
resolve: `gatsby-plugin-sectxt`,
options: {
pathAlternative: "/security.txt",
contacts: ["mailto:security@example.org"],
expires: new Date("2022-12-31"),
preferredLanguages: ["en", "de"],
hiring: ["https://secjobs.example.org"],
},
},
],
}
Examples
See more complete examples.