Skip to content

basa-casa/admin

Repository files navigation

/admin

A local-first CMS generator and configuration management interface for any static site made with love, Hugo, NetlifyCMS, StaticJsCMS, and now SveltiaCMS, and based on theNewDynamic's hugo-module-tnd-netlifycms.

Admin can be extended to support any other static site generator or text-file-configured or fed software.

Prerequisites

  • Hugo (Installation instructions)

  • Git (Installation instructions)

  • A Hugo site tracked by Git

    hugo new site my-awesome-site
    cd my-awesome-site
    git init
    hugo mod init github.com/username/my-awesome-site
    
    # "Replacing my-awesome-site with your site directory, and username with yours. Don't worry, your site doesn't already have to be on GitHub."

Installation

  1. Import github.com/basa-casa/admin to your hugo config.
  2. Copy /exampleSite/content/admin/_index.md into your project
  3. In your new file, modify the cascade.config object to reflect your project. This controls the static cms backend and other settings common to each sub-cms.

Usage

Getting Started

  1. Run hugo server
  2. Open http://localhost:1313/admin/help

/admin

This is your blank slate! Most small sites will likely want all of their collections imported here.

Prompt for Updating config.schema.json:

Please review and update the config.schema.json file for our CMS configuration. Ensure the schema includes all relevant JSON Schema options for each property, such as type, enum, pattern, description, default, and examples. Cross-reference the latest documentation from decap-cms and sveltia-cms repositories to include any new properties or changes. Ensure the schema is comprehensive, accurate, and follows best practices for JSON Schema.

About

Layouts for admin-scms and admin-hugo

Resources

License

Stars

Watchers

Forks

Languages