Skip to content

Default database.js

robiso edited this page Feb 22, 2018 · 12 revisions

Default database.js

  • in JSON format
  • database.js file is created/generated the first time you visit your website
{
    "config": {
        "dbVersion": "2.4.0",
        "siteTitle": "Website title",
        "theme": "default",
        "defaultPage": "home",
        "login": "loginURL",
        "password": "$2y$10$EQxvjQH2YLo73qkA58gTRONDD\/japo\/Hg1g2qxVkY883g1xRjWLkG",
        "menuItems": {
            "0": {
                "name": "Home",
                "slug": "home",
                "visibility": "show"
            },
            "1": {
                "name": "Example",
                "slug": "example",
                "visibility": "show"
            }
        }
    },
    "pages": {
        "home": {
            "title": "Home",
            "keywords": "Keywords, are, good, for, search, engines",
            "description": "A short description is also good.",
            "content": "Home page content"
        },
        "example": {
            "title": "Example",
            "keywords": "Keywords, are, good, for, search, engines",
            "description": "A short description is also good.",
            "content": "Example page content"
        }
    },
    "blocks": {
        "subside": {
            "content": "Static block called subside."
        },
        "footer": {
            "content": "©2018 Your website"
        }
    }
}
Clone this wiki locally