Search
Search
How to add content and modules.
Edit config file
/config/_default/module.yaml
imports:
# Core theme required
- path: github.com/hugolify/hugolify-theme
# CMS
- path: github.com/hugolify/hugolify-admin
Adds modules according to your needs.
In this example, I have a website with a blog and portfolio to show my projects.
imports:
# Content
- path: github.com/hugolify/hugolify-theme-projects
- path: github.com/hugolify/hugolify-theme-posts-categories
- path: github.com/hugolify/hugolify-theme-posts
# Core theme required
- path: github.com/hugolify/hugolify-theme
# CMS
- path: github.com/hugolify/hugolify-admin
In this example, I have a website for to propose services and I would like to show my press publications.
imports:
# Content
- path: github.com/hugolify/hugolify-theme-services
- path: github.com/hugolify/hugolify-theme-publications
# Core theme required
- path: github.com/hugolify/hugolify-theme
# CMS
- path: github.com/hugolify/hugolify-admin
Use Decap CMS to add content in your website.
Or add it in content directory.
/content/