Search
Search
Tutorial
This tutorial guides you through creating a Website editable via Pages CMS.
/config/_default/module.yaml
imports:
- path: github.com/hugolify/hugolify-theme
- path: github.com/hugolify/hugolify-admin
Feel free to add some type of content Hugolify modules (sections and taxonomies).
imports:
# Content type modules examples
- path: github.com/hugolify/hugolify-theme-posts-authors # taxonomy
- path: github.com/hugolify/hugolify-theme-posts-categories # taxonomy
- path: github.com/hugolify/hugolify-theme-posts # section
- path: github.com/hugolify/hugolify-theme-publications # section
- path: github.com/hugolify/hugolify-theme-persons # section
# Required modules
- path: github.com/hugolify/hugolify-theme
- path: github.com/hugolify/hugolify-admin
/config/_default/params.yaml
admin:
cms: pagescms # set Pages CMS as CMS for Hugolify
Install packages
yarn
Command to build project and create Pages CMS config file
yarn build:config:pagescms
To modify the config file, it is advisable to do so via the params because this file is compiled to the build command.
Config file .pages.yml needs to be in your root repository.
Commit and push to Github your changes.
Go to https://app.pagescms.org/

Pages CMS, login

Pages CMS, home

Pages CMS, project

Pages CMS, page home

Pages CMS, blocks
Host your website on Netlify or others hosters.
Table of contents
Table of contents