Editing database.js
Posted: Tue Jan 02, 2024 12:32 pm
Hi
I am new to WonderCMS and I like the structure and simplicity of this CMS.
I would like to know if it is possible to directly edit the database.js file to add new pages.
I am creating a website with many pages that will have the same content structure and I think it would be faster to duplicate the pages in the "database.js" file and then combine them with the WonderCMS editor.
Can I copy and paste the following code?
I am new to WonderCMS and I like the structure and simplicity of this CMS.
I would like to know if it is possible to directly edit the database.js file to add new pages.
I am creating a website with many pages that will have the same content structure and I think it would be faster to duplicate the pages in the "database.js" file and then combine them with the WonderCMS editor.
Can I copy and paste the following code?
Code: Select all
"inicio": {
"title": "Inicio",
"keywords": "Enter, page, keywords, for, search, engines",
"description": "A page description is also good for search engines.",
"content": "<h1>........",
"subpages": {}