Prerequisites
- Git, Go and Hugo installed - See Hugolify documentation
- Use Hugolify template - See Hugolify documentation
- Github account
- Pages CMS account
Choose the necessary Hugolify modules
/config/_default/module.yaml
Add required modules
imports:
- path: github.com/hugolify/hugolify-theme
- path: github.com/hugolify/hugolify-admin
Add content type modules (optional)
Feel free to add some type of content Hugolify modules (sections and taxonomies).
Example
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
Tutorials
- How to create a blog featuring categories and tags using Hugolify
- How to create a portfolio featuring categories using Hugolify
Configuration
Set Pages CMS
/config/_default/params.yaml
admin:
cms: pagescms # set Pages CMS as CMS for Hugolify
More about customizations
Get Pages CMS config file
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.
Push in Github
Config file .pages.yml
needs to be in your root repository.
Commit and push to Github your changes.
Pages CMS
Go to https://app.pagescms.org/

Pages CMS, login

Pages CMS, home

Pages CMS, project
Hosting your project
Host your website on Netlify or others hosters.