basalt-ng documentation
Docs» Secrets

Secrets

A file named “secrets.json” in your basalt site's root directory can be used to store authentication credentials and the like. It is currently only used to hold the authentication token for Netlify uploading.

It is automatically added to the .gitignore file when the site is initialised, to avoid it being accidentally committed to source control.

Example

{
	"netlify_pat": "PAT",
	"netlify_site": "example.com"
}
Previous Next

basalt-ng documentation

Table of Contents

GENERAL

  • Home/About basalt-ng
  • Download
  • Release Notes

Documentation

  • Configuration
    • Automatic Build Uploading
    • Custom Menu
    • Netlify
    • Secrets
    • Site Configuration
  • Theme Development
    • Custom Post Types
    • Theme template variables
    • Themes
  • Usage
    • Getting Started
    • Pages
    • Posts